open-southeners/sidecar-local

An extension of Laravel Sidecar project to be able to use it locally with Docker

1.3.0 2024-03-21 11:09 UTC

This package is auto-updated.

Last update: 2024-04-21 11:44:54 UTC


README

An extension of Laravel Sidecar project to be able to use it locally with Docker.

Getting started

composer require open-southeners/sidecar-local

Setting up

Publish config file with the following command:

php artisan vendor:publish --provider="OpenSoutheners\\SidecarLocal\\ServiceProvider"

Then don't forget to set your sidecar.env config option to local and the sidecar.functions with the ones you want to test locally to make this work.

Run the following command to publish docker-compose.yml file into resources/sidecar folder with --run option to run Docker with all services locally:

php artisan sidecar:local --run

To stop the services you can just run the same but with --stop option:

php artisan sidecar:local --stop

Partners

skore logo

License

This package is open-sourced software licensed under the MIT license.