kirschbaum-development/sst-laravel
Integrates Laravel with SST (Serverless Stack), offering configuration and deployment helpers to run Laravel applications on AWS Lambda and related serverless infrastructure. Simplifies wiring Laravel to SST-managed resources.
composer require kirschbaum-development/sst-laravel --dev.php artisan sst:install. This scaffolds the SST wiring, typically sst.config.ts and a Dockerfile. Review those first.npx sst dev --stage dev for live development or npx sst deploy --stage staging for a real deploy. Confirm the Laravel app responds and runtime env vars are present.sst.config.ts for stage/env definitions and the Dockerfile for what gets copied into the Lambda image.dev, staging, pr-123, production. Map stages to Laravel config and keep .env local only.sst.config.ts or SST secrets, not in the container image. Since 0.7.4, treat images as environment-agnostic and inject env at runtime.composer install --no-dev --optimize-autoloader, npm ci, then npx sst deploy --stage $STAGE. Run migrations as a separate controlled step, not during cold starts.npx sst dev for live Lambda execution and npx sst logs for CloudWatch output. For one-off Artisan commands, use SST shell/remote invocation where available or a temporary admin route.sst.config.ts; grant the Lambda role only the permissions it needs.npx sst remove --stage pr-123.undefined. Rebuild and redeploy images after upgrading; do not add .env back into the Dockerfile.node_modules, tests, .git, and local env files from the image; keep Composer production-only.npx sst logs --stage <stage> and CloudWatch. Check IAM role permissions first when AWS calls fail.composer.json. 0.7.4 is a patch release with no breaking changes noted, but the container/env behavior changed enough to warrant a fresh deploy and smoke test.sst.config.ts and Dockerfile, add SST constructs for queues/storage/domains, and keep Laravel config/env indirection so stage changes do not require code changes.How can I help you explore Laravel packages today?