Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

aws-samples/php-examples-for-aws-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6b3c99a · Jan 5, 2024
Jun 28, 2020
Oct 7, 2020
Mar 29, 2022
May 10, 2022
May 26, 2021
Mar 29, 2022
Jan 2, 2024
Jan 2, 2024
Mar 29, 2022
May 28, 2020
May 28, 2020
May 28, 2020
Mar 18, 2021
Jun 1, 2021

The Serverless LAMP stack

The Serverless LAMP stack

Examples

Code example Description AWS blog link
0.1-SimplePhpFunction A very simple implementation of a PHP Lambda function. This uses a custom rumtime bootstrap and vendor dependencies as layers. Part1
0.2-Relational-Database-RDS-Proxy-Example A PHP Lambda function that connects to an Aurora MySQL database using Amazon RDS Proxy. Part2
0.3-Replacing-The-HTTP-Web-Server Routing all HTTP requests for static assets directly to S3 and all dynamic requests to a single Lambda function via API Gateway, using Bref's FPM custom runtime. Part3
0.4-Building-A-Serverless-Laravel-App Deploy a serverless Laravel application with AWS SAM. Part4
0.5-The CDK construct library for the serverless LAMP stack Deploy a serverless Laravel application with the AWS CDK. Part5
0.6-From-MVC-To-Microservices build serverless PHP applications using microservices. Part6
0.7-Building-PHP-Lambda-functions-with-Docker-container-images build a custom runtime PHP Lambda function packaged as a docker container image Part7

Community Curated PHP Serverless resources

serverless-php-resources.md - A community curated list of PHP / Serverless resources (videos, blogs, code examples frameworks, events).

Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section.

License

This project is licensed under the MIT license. See the LICENSE file for more info.