php examples for aws lambda

Demo serverless applications, examples code snippets and resources for PHP

359
139
PHP

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.