multiapi/arco-laravel
Arco for Laravel
Laravel integration for Arco, which deploys Laravel to AWS Lambda Web Functions with FrankenPHP and Octane.
composer require multiapi/arco-laravel laravel/octane
composer require --dev multiapi/arco
Install it as a regular dependency: its service provider ships with your app. On Lambda (only when Arco runs the app) it:
- trusts the AWS front end's
X-Forwarded-*headers, so Laravel seeshttps, the real host and client IP; - passes Lambda's session token to every AWS client configured with the function's key (DynamoDB cache, SQS, S3, SES, failed jobs, your own services);
- sends stock logging to stderr as JSON, with a request id in every line, and keeps sessions out of files.
It also provides the Laravel preset Arco uses to package your app (Octane worker, storage in
/tmp, /up health route, cached asset paths).
Documentation, issues and pull requests: multi-api/arco. This repository is a read-only split.
License
MIT
Related Packages
bref/laravel-bridge
An advanced Laravel integration for Bref, including Octane support.
5,136,307
341
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v0.11.3 | ^8.3 | ^11.0 || | MIT | |
| v0.11.2 | ^8.3 | ^11.0 || | MIT | |
| v0.11.1 | ^8.3 | ^11.0 || | MIT | |
| v0.11.0 | ^8.3 | ^11.0 || | MIT | |
| v0.10.2 | ^8.3 | ^11.0 || | MIT | |
| v0.10.1 | ^8.3 | ^11.0 || | MIT | |
| v0.10.0 | ^8.3 | ^11.0 || | MIT | |
| v0.9.1 | ^8.3 | ^11.0 || | MIT | |
| v0.9.0 | ^8.3 | ^11.0 || | MIT | |
| v0.8.1 | ^8.3 | ^11.0 || | MIT | |
| v0.8.0 | ^8.3 | ^11.0 || | MIT | |
| v0.7.0 | ^8.3 | ^11.0 || | MIT | |
| v0.6.0 | ^8.3 | ^11.0 || | MIT | |
| v0.5.0 | ^8.3 | ^11.0 || | MIT | |
| v0.4.1 | ^8.3 | ^11.0 || | MIT | |
| v0.4.0 | ^8.3 | ^11.0 || | MIT | |
| v0.3.0 | ^8.3 | ^11.0 || | MIT | |
| v0.2.1 | ^8.3 | ^11.0 || | MIT | |
| v0.2.0 | ^8.3 | ^11.0 || | MIT | |
| v0.1.4 | ^8.3 | ^11.0 || | MIT | |
| v0.1.3 | ^8.3 | ^11.0 || | MIT | |
| v0.1.2 | ^8.3 | ^11.0 || | MIT | |
| v0.1.1 | ^8.3 | ^11.0 || | MIT | |
| v0.1.0 | ^8.3 | ^11.0 || | MIT |