Awesome
Laravel Studio
Just Laravel boilerplate with some alterations to support local package development.
Usage
- Clone:
git clone git@github.com:Team-Tea-Time/laravel-studio.git
-
Clone/place your package(s) into a
laravel-packages
directory adjacent to (not inside) this repo -
Copy
src/.env.example
tosrc/.env
-
Modify the
autoload
section ofsrc/composer.json
to specify your package namespace(s)/path(s) -
Run
docker-compose up
and any other commands you may need to run in the container for your package(s):
docker-compose up
docker-compose exec php-fpm composer install
docker-compose exec php-fpm php artisan key:generate
docker-compose exec php-fpm php artisan migrate
Broadcasting events
To work with event broadcasting, make sure the queue worker and Reverb server are running:
php artisan queue:work
php artisan reverb:start