Bref PHP Lambda

1 min read php, lambda

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"}'

Resources

Keep learning

Get new guides and courses by email

An occasional email when I publish a new guide, course or post. No spam, and you can unsubscribe any time.

Sent with Buttondown. I never share your address. Prefer a feed? Use the RSS feed.