Search by

multiapi / arco-laravel

JGamboa

Laravel integration for Arco (Octane on AWS Lambda Web Functions)

v0.2.1 2026-10-16 03:44 UTC

This package is auto-updated.

Last update: 2026-10-16 03:45:24 UTC


README

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