Bref PHP Lambda
Written in 2020. Tools, APIs and prices may have changed since.
Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/bref-php-lambda-playground.
learn bref, deploy and run serverless PHP applications
Prerequisites
Running
# install
composer require bref/bref
# init
vendor/bin/bref init
# edit `index.php`
# deploy
serverless deploy
# test / invoke
serverless invoke -f "function"
# test / invoke with event data
serverless invoke --function "function" --data '{"name": "foo"}'