Download the PHP package open-southeners/sidecar-local without Composer
On this page you can find all versions of the php package open-southeners/sidecar-local. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download open-southeners/sidecar-local
More information about open-southeners/sidecar-local
Files in open-southeners/sidecar-local
Package sidecar-local
Short Description An extension of Laravel Sidecar project to be able to use it locally with Docker
License MIT
Informations about the package sidecar-local
Laravel Sidecar Local

An extension of Laravel Sidecar project to be able to use it locally with Docker.
Getting started
Setting up
Publish config file with the following command:
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 files into resources/sidecar with --run option to run Docker with all services locally:
By default this starts a Docker-in-Docker daemon container and runs Traefik plus all Lambda runtime containers inside it. This keeps local Lambda containers isolated from the host Docker daemon while still exposing the local invoke endpoint on localhost:6000.
To stop the services you can just run the same but with --stop option:
Stopping uses a Sidecar-specific Compose project name and removes orphaned Sidecar function containers. It should not be run against your application's main Docker Compose or Sail stack.
Laravel Sail
Use --sail when running Sidecar Local from a Laravel Sail project:
Set SIDECAR_LOCAL_HOST=sidecar-docker when the Laravel application container needs to call the local Lambda endpoint through the DinD service. If your Sail network is not named sail, set SIDECAR_LOCAL_DOCKER_NETWORK to the actual external Docker network name.
Partners
License
This package is open-sourced software licensed under the MIT license.
All versions of sidecar-local with dependencies
hammerstone/sidecar Version dev-l13-compatibility
illuminate/console Version ^12.0 || ^13.0
illuminate/filesystem Version ^12.0 || ^13.0
illuminate/support Version ^12.0 || ^13.0
symfony/yaml Version ^6.3 || ^7.0
