/laravel-studio

Dockerised Laravel boilerplate with some modifications for local package development.

Primary LanguageBlade

Laravel Studio

Just Laravel boilerplate with some alterations to support local package development.

Usage

  1. Clone:
git clone git@github.com:Team-Tea-Time/laravel-studio.git
  1. Clone/place your package(s) into a laravel-packages directory adjacent to (not inside) this repo

  2. Copy src/.env.example to src/.env

  3. Modify the autoload section of src/composer.json to specify your package namespace(s)/path(s)

  4. 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
  1. Open http://localhost:8000/

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