To run Laravel Streams you will need to meet Laravel server requirements.
Please ensure one of the following libraries is installed in order to support image manipulation.
For new projects, the fastest way to get up and running is using the Streams starter project.
The starter project is simply the latest Laravel with the following addons installed:
The following development tools are also included:
composer create-project streams/streams:1.0.x-dev example.local --stability=dev
There is no installer as there is no traditional database requirement.
If you have PHP installed locally and you would like to use PHP's built-in development server to serve your application, you may use the serve Artisan command to start a development server:
php artisan serve
Your streams project is now ready for you to start coding.
You can add the Streams platform to existing Laravel projects by requiring the packages you need.
The core package is responsible for the meat and taters; it is the only required package.
composer require streams/core
composer require streams/ui
composer require streams/api
This step is optional. You may find it helpful to compare our default scripts below to your own and decide what you would like to include.
// composer.json
"scripts": {
"pre-autoload-dump": [
"rm -Rf bootstrap/cache/*.php"
],
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi",
"@php artisan clear --ansi",
"@php artisan vendor:publish --ansi --tag=public",
"@php artisan queue:restart --ansi"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
]
}
From within your project, use Composer to update individual packages:
composer update streams/core --with-dependencies
composer update streams/api --with-dependencies
composer update streams/ui --with-dependencies
You can, of course, update your entire project using composer update.
The fundamental features and utilities offered by the Streams platform.
A full featured, universal, and extensible RESTful API.
Extensible, user-friendly, and performant control panel and user interface utilities and services.
CLI Tooling for Laravel Streams.