service: demo provider: name: aws functions: web: runtime: php-82-fpm handler: public/index.php events: - httpApi: '*'
requests, jobs, and messages handled with Bref in the last 30 days
We're in 2023. Applications should scale automatically. Hosting should be reliable and cost-efficient. Infrastructure should accelerate development, not consume our time.
Bref deploys PHP applications to AWS Lambda and sets up the rest of the infrastructure using serverless services.
serverless.ymlfile. Then deploy to AWS with
serverless deploy. Bref integrates with the Serverless Framework for a great developer experience.
$ serverless deploy
Deploying demo to stage dev (us-east-1)
✔ Service deployed to stack demo-dev (31s)
web: demo-dev-web (750 KB)
cron: demo-dev-cron (750 KB)
worker: demo-dev-worker (750 KB)
Serverless means whatever you choose it to mean.
Run PHP as usual, like on any server. Except it scales (almost) infinitely and you don't maintain the infrastructure.
Lift-and-shift existing apps or build new ones with your favorite framework.
Or go the extreme opposite: build event-driven microservices with infinitely scalable cloud services like SQS and EventBridge.
Or anything in between, that works too.
Become a sponsor and help Bref be a sustainable open-source project.