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

Demo serverless applications, examples code snippets and resources for PHP

PHP

360

30 commits

updated Jan 5, 2024

See the code

README

The Serverless LAMP stack

The Serverless LAMP stack

Examples

Code exampleDescriptionAWS blog link
0.1-SimplePhpFunctionA 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-ExampleA PHP Lambda function that connects to an Aurora MySQL database using Amazon RDS Proxy.Part2
0.3-Replacing-The-HTTP-Web-ServerRouting 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-AppDeploy a serverless Laravel application with AWS SAM.Part4
0.5-The CDK construct library for the serverless LAMP stackDeploy a serverless Laravel application with the AWS CDK.Part5
0.6-From-MVC-To-Microservicesbuild serverless PHP applications using microservices.Part6
0.7-Building-PHP-Lambda-functions-with-Docker-container-imagesbuild a custom runtime PHP Lambda function packaged as a docker container imagePart7

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.

aws
bref
lamp
lamp-stack
laravel
php
serverless
symfony

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

Demo serverless applications, examples code snippets and resources for PHP

PHP

360

30 commits

updated Jan 5, 2024

See the code

README

The Serverless LAMP stack

The Serverless LAMP stack

Examples

Code exampleDescriptionAWS blog link
0.1-SimplePhpFunctionA 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-ExampleA PHP Lambda function that connects to an Aurora MySQL database using Amazon RDS Proxy.Part2
0.3-Replacing-The-HTTP-Web-ServerRouting 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-AppDeploy a serverless Laravel application with AWS SAM.Part4
0.5-The CDK construct library for the serverless LAMP stackDeploy a serverless Laravel application with the AWS CDK.Part5
0.6-From-MVC-To-Microservicesbuild serverless PHP applications using microservices.Part6
0.7-Building-PHP-Lambda-functions-with-Docker-container-imagesbuild a custom runtime PHP Lambda function packaged as a docker container imagePart7

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.

aws
bref
lamp
lamp-stack
laravel
php
serverless
symfony

Languages

PHP

85.4%

CSS

7.8%

Dockerfile

6.9%