bref/laravel-bridge
Run Laravel on AWS Lambda with Bref. This bridge adapts Laravel for serverless deployment, handling queues, storage, and more, so you can scale without managing servers. Originally by CacheWerk, now maintained by Bref.
With Octane (and with Bref\LaravelBridge\Http\HttpHandler), the files uploaded with a request were never deleted: they stayed in the Lambda instance's /tmp until it was full, and then everything that writes to /tmp failed, Laravel's storage included. They are now deleted when the next request starts. Thanks @felipehertzer for finding it!
Bref 3.0.13 is now required: before it, Bref's cleanup missed every upload on PHP 8.4 and up.
When a failed job could not be stored (for example with the default database-uuids failed job driver in an application without a database), the error replaced the job's own exception, which was never logged or reported. Both errors are now reported.
bref.request_contextThe option adds the X-Request-ID header to the shared log context, and API Gateway does not send that header (only the Octane and function runtimes of this package set it), so it did nothing with PHP-FPM. On Lambda, Bref's log formatter now starts every log line with the request ID (documentation). The option will be removed in the next major version.
bref.request_context option by @mnapoli in https://github.com/brefphp/laravel-bridge/pull/216Full Changelog: https://github.com/brefphp/laravel-bridge/compare/3.1.3...3.1.4
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/3.1.2...3.1.3
serverless.yml for Laravel 13 by @mnapoli in https://github.com/brefphp/laravel-bridge/pull/209Full Changelog: https://github.com/brefphp/laravel-bridge/compare/3.0.7...3.0.8
fonts-manifest.json to serverless.yml for Laravel 13 by @mnapoli in https://github.com/brefphp/laravel-bridge/pull/208Full Changelog: https://github.com/brefphp/laravel-bridge/compare/3.0.6...3.0.7
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/3.0.5...3.0.6
prod stage to Laravel production env by @mnapoli in https://github.com/brefphp/laravel-bridge/pull/204Full Changelog: https://github.com/brefphp/laravel-bridge/compare/3.0.4...3.0.5
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/3.0.3...3.0.4
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/3.0.2...3.0.3
serverless.yml default config for the storage bucket by @mnapoli in https://github.com/brefphp/laravel-bridge/pull/199Full Changelog: https://github.com/brefphp/laravel-bridge/compare/3.0.1...3.0.2
serverless.yml default config for the storage bucket by @mnapoli in https://github.com/brefphp/laravel-bridge/pull/198Full Changelog: https://github.com/brefphp/laravel-bridge/compare/3.0.0...3.0.1
Bref 3.0 is released 🎉
Read the full blog post here: bref.sh/news/03-bref-3.0
The full upgrade guide is here: https://bref.sh/docs/upgrading/v3
serverless.yml to improve onboarding by @mnapoli in https://github.com/brefphp/laravel-bridge/pull/195The CloudWatch formatter change is the only breaking change.
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.7.1...3.0.0
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.7.0...2.7.1
See https://github.com/brefphp/bref/releases/tag/3.0.0-beta1 for more context.
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/3.0.0-alpha2...3.0.0-beta1
Fix compatibility with Bref v3
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/3.0.0-alpha1...3.0.0-alpha2
Bref v3 support.
Read https://github.com/brefphp/laravel-bridge/pull/190 for details
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.7.0...3.0.0-alpha1
bref tinker command by @datpmwork in https://github.com/brefphp/laravel-bridge/pull/187https://github.com/user-attachments/assets/29c007ad-2eb0-4ee6-914c-5d4f7b4817e9
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.6.0...2.7.0
bref/monolog-bridge by @mnapoli in https://github.com/brefphp/laravel-bridge/pull/184The Bref\Monolog\CloudWatchFormatter is now usable, which will automatically format logs for CloudWatch.
Read https://bref.sh/docs/environment/logs#writing-logs to learn more.
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.5.6...2.6.0
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.5.5...2.5.6
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.5.4...2.5.5
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.5.3...2.5.4
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.5.2...2.5.3
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.5.1...2.5.2
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.5.0...2.5.1
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.4.5...2.5.0
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.4.4...2.4.5
I'm releasing this as a patch version because, even though it adds a new feature, 99% of users will not see any change.
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.4.3...2.4.4
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.4.2...2.4.3
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.4.1...2.4.2
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.4.0...2.4.1
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.3.1...2.4.0
Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.3.0...2.3.1
error level for queue failure by @tillkruss in https://github.com/brefphp/laravel-bridge/pull/148Full Changelog: https://github.com/brefphp/laravel-bridge/compare/2.2.1...2.3.0
How can I help you explore Laravel packages today?