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.
Architecture fit: sst-laravel bridges Laravel with SST (Serverless Stack) to deploy Laravel applications on AWS Lambda/API Gateway (or similar serverless targets). It fits teams already invested in Laravel and interested in serverless deployment without adopting Laravel Vapor. The package is opinionated toward SST’s infrastructure-as-code model, so it introduces an AWS-native deployment paradigm rather than a platform-agnostic abstraction.
Integration feasibility: The package is Composer-installable and appears to provide Laravel service provider/config publishing plus SST construct helpers. Integration requires an existing SST app and AWS account. The 0.7.4 patch improves environment handling in container images and fixes unset env file outputs — both reduce integration friction for multi-environment deployments and secret management. No breaking changes are indicated.
Technical risk: Moderate. The package is at 0.7.x (pre-1.0), so APIs and conventions may still change. The release notes address a meaningful security/operational risk (baking environment variables into container images) and a correctness bug (literal undefined values in env outputs), which is positive but also signals that environment handling is still maturing. Key risks include AWS lock-in, reliance on SST version compatibility, cold-start performance for Laravel, and limited production references.
Key questions:
Stack fit: Best suited to teams running Laravel 10/11 on PHP 8.1+ that have adopted or are evaluating SST v2/v3 for AWS deployments. It is a poor fit for teams requiring cloud portability or already standardized on Laravel Vapor, Kubernetes, or traditional VM/container platforms.
Migration path: Treat this as an incremental adoption, not a lift-and-shift. Start by deploying a non-critical Laravel service (e.g., an internal API or staging environment) using the package. Validate environment variable injection, container image behavior, and SST output handling before migrating customer-facing workloads. The 0.7.4 fixes should be verified explicitly in staging: confirm that environment variables are not present in built images and that unset env outputs are omitted rather than emitted as undefined.
Compatibility: Pin the package version and SST version together. Because the package is pre-1.0, avoid floating version constraints in production. Confirm compatibility with your Laravel version, PHP runtime, and any Octane/Bref configuration. The patch release is low-risk to adopt from 0.7.3, but validate against your existing SST configuration.
Sequencing:
Maintenance: The package is maintained by Kirschbaum Development and appears active (0.7.4 follows 0.7.3 with targeted fixes). Pre-1.0 status means periodic breaking changes are possible; budget for dependency review each release. Track both package releases and SST releases, since the integration surface spans both.
Support: Support is primarily community/GitHub-based. There is no indication of commercial SLA. Teams should be prepared to debug SST/AWS issues directly and maintain in-house expertise.
Scaling: Serverless scaling is inherited from AWS Lambda/API Gateway, which suits spiky or unpredictable workloads. However, Laravel cold starts and database connection limits under high concurrency are real constraints. The package does not eliminate the need for connection pooling (e.g., RDS Proxy) or performance testing.
Failure modes: The 0.7.4 release specifically mitigates two failure modes: environment leakage into container images and invalid undefined environment outputs. Remaining failure modes include misconfigured SST stages, missing runtime secrets, Lambda timeouts, cold-start latency, and drift between local and deployed environments. Ensure deployment pipelines fail fast on missing env vars and that image builds are scanned for embedded secrets.
Ramp-up: Teams need working knowledge of AWS Lambda, API Gateway, IAM, SST, and Laravel’s serverless constraints (storage, sessions, queues). Expect meaningful ramp-up time even for experienced Laravel developers. The 0.7.4 fixes reduce one class of operational surprise, but they do not remove the need for AWS/SST fluency.
How can I help you explore Laravel packages today?