PHP for AWS Lambda via Serverless Framework using Symfony components for dependency injection.
This repository is set up with Git LFS for the php executable, so make sure you have it installed and supported.
composer install -o --no-dev
serverless deploy
serverless invoke local -f hello
serverless invoke -f hello
The PHP binary can be built with any flags you require and at any version.
sh buildphp.sh
Edit buildphp.sh
and dockerfile.buildphp
to alter it.
- Robert Anderson for the inspiration and base for this project