open-southeners / sidecar-local
An extension of Laravel Sidecar project to be able to use it locally with Docker
Fund package maintenance!
open-southeners
Installs: 1 717
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 1
Forks: 0
Open Issues: 1
pkg:composer/open-southeners/sidecar-local
Requires
- php: ^8.2
- hammerstone/sidecar: ^0.7
- illuminate/console: ^11.0 || ^12.0
- illuminate/filesystem: ^11.0 || ^12.0
- illuminate/support: ^11.0 || ^12.0
- symfony/yaml: ^6.3 || ^7.0
Requires (Dev)
- larastan/larastan: ^3.0
- orchestra/testbench: ^9.0 || ^10.0
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^11.0
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
License
This package is open-sourced software licensed under the MIT license.
