https://github.com/zrierc/laravel-lambda
Implement deploying Laravel App on AWS Lambda with several methods
https://github.com/zrierc/laravel-lambda
aws-lambda lambda laravel php serverless
Last synced: 2 months ago
JSON representation
Implement deploying Laravel App on AWS Lambda with several methods
- Host: GitHub
- URL: https://github.com/zrierc/laravel-lambda
- Owner: zrierc
- Created: 2022-09-12T06:56:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-11T03:00:41.000Z (about 3 years ago)
- Last Synced: 2025-03-04T01:46:22.839Z (10 months ago)
- Topics: aws-lambda, lambda, laravel, php, serverless
- Language: PHP
- Homepage:
- Size: 238 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## About Laravel
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
- [Simple, fast routing engine](https://laravel.com/docs/routing).
- [Powerful dependency injection container](https://laravel.com/docs/container).
- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.
- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).
- Database agnostic [schema migrations](https://laravel.com/docs/migrations).
- [Robust background job processing](https://laravel.com/docs/queues).
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).
Laravel is accessible, powerful, and provides tools required for large, robust applications.
## Deployment Methods
This project is intended to be deployed to [AWS Lambda](https://aws.amazon.com/lambda/). There are several ways to deploy Laravel app to AWS Lambda.
- The first and easiest method is using [Serverless PHP - bref](https://bref.sh/). Bref is a composer packages that uses [Serverless Framework](https://www.serverless.com/) to helps you deploy PHP-based applications to AWS and run them on AWS Lambda.
- Another method is using [aws-lambda-web-adapter](https://github.com/awslabs/aws-lambda-web-adapter) with [AWS SAM](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html).
**Please check out each branch of this repository to learn more about each deployment.**
## References
Here are the resources that might help to learn more about each deployment method:
- [AWS Lambda Official Docs](https://docs.aws.amazon.com/lambda/latest/dg/welcome.html).
- [Bref Official Docs](https://bref.sh/).
- [Serverless Framework](https://www.serverless.com/framework/docs/getting-started).
- [AWS Lambda Web Adapter Repository](https://github.com/awslabs/aws-lambda-web-adapter).
- [AWS Serverless Application Model (SAM) Documentation](https://aws.amazon.com/serverless/sam/).
If you have questions or found any problem let me know by opening issue - your feedback and contributions are welcome!