Looking to hire Laravel developers? Try LaraJobs

arco-laravel maintained by multiapi

Description
Laravel integration for Arco (Octane on AWS Lambda Web Functions)
Author
Last update
2026/10/15 15:17 (dev-main)
License
Downloads
3

Comments
comments powered by Disqus

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 sees https, 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