Need help with php-examples-for-aws-lambda?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

234 Stars 73 Forks Other 121 Commits 2 Opened issues


Demo serverless applications, examples code snippets and resources for PHP

Services available


Need anything else?

Contributors list

The Serverless LAMP stack

The Serverless LAMP stack


| 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 - 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.


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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.