The serverless PHP framework ➯ bref.sh

Joined December 2020
10 Photos and videos
Pinned Tweet
24 Oct 2021
Bref is 4 years old today! ▸ 118 contributors ▸ 118 releases ▸ 300 community members in Slack ▸ 3k downloads/day ▸ 1 billion requests processed each week PHP AWS Lambda = ❤️
3
22
181
Bref retweeted
I rewrote externals.io to Laravel! (runs with Octane on @brefphp) 50% of requests under 5ms, p90 is 40ms 🚀 2.5M req/mo, costs: ~$2.5/mo $11 for the database, staging costs $0 Open source on GitHub: github.com/mnapoli/externals
3
6
60
4,844
Bref retweeted
I have a Laravel app running serverless with @brefphp and generating PDF via chrome on Lambda. I added X-Ray to visualize it: 1 - the HTTP route (Laravel controller) invokes the pdf function synchronously and passes it a URL to render 2 - the "pdf-renderer" function starts chromium, opens the URL, exports it to PDF, and uploads it to S3 3 - the HTTP route returns a temporary signed URL to the S3 file This specific scenario is synchronous (~1s) because the PDF is live generated. When possible the PDF is generated asynchronously in a Laravel job. With that approach I write PDF templates with blade, it renders exactly the same locally or in Lambda (easy to test), never have to worry about scaling, and pay per PDF generated (about 0.004 cents/PDF)
3
1
24
2,789
Bref retweeted
TIL about @brefphp's CloudWatch log formatter, 👋 Monolog's built in JSON formatter.
1
1
145
Bref retweeted
New UI in Bref Cloud to go through Laravel failed jobs: list, retry, clear…
1
1
3
844
Bref retweeted
New Bref documentation page: Cold Starts bref.sh/docs/environment/col… (should have done it years ago but better late than never)
1
1
8
1,003
Bref retweeted
.@brefphp v3😮
1
3
54
4,225
Bref retweeted
Bref 3 is released 🎉 Since its creation, Bref has served 1.2 trillion requests and jobs! ▸ simpler & lighter runtimes ▸ PHP 8.5 ▸ improved observability (logs & tracing) ▸ simpler Laravel onboarding ▸ postgres & redis built-in and more ⤵ bref.sh/news/03-bref-3.0
6
28
168
10,024
Bref retweeted
Working on Bref v3 release for tomorrow 🤞
1
15
898
Bref retweeted
Improved Bref docs on a quick win: cleanup the AWS SDK before deployment bref.sh/docs/deploy#reducing… (btw could also be useful if you deploy your app on a server)
1
7
1,159
Bref retweeted
New UI to configure private networks in bref.sh/cloud credits to @nunowar for the page design
1
2
15
2,132
Jan 22
thank you @depotdev for all the build time saved 🙏
1
1
6
323
Bref retweeted
I created the Serverless Visually Explained course 6 years ago. It's now free! If you want concrete JS and PHP examples, with live animations, and no-bullshit explanations on what serverless is, you can click and read. serverless-visually-explaine…
1
4
11
857
Bref retweeted
Improving the UX/UI for @brefphp. The new Network page is shaping up good 🎨✨
2
4
12
721
Bref retweeted
Application diagrams are live in Bref Cloud ✨ They'll help understand how serverless applications run in AWS: - CloudFront CDN - S3 for assets - PHP runs on Lambda - SQS queues… Metrics are live: requests, latency, scaling, errors… beautiful design by @nunowar!
2
2
3
723
Bref retweeted
19 Nov 2025
Loved designing and implementing these Vue.js diagrams for @brefphp. Building them was the perfect way to dive deeper into the serverless world.
6
7
83
7,655
Bref retweeted
18 Nov 2025
NEXT MONDAY: PHP Portugal Meetup v16 🚨 📆 November 24, Lisbon, Portugal 💻 2 Talks by @matthieunapoli (creator of @brefphp) and TBH 🍕 Free snacks and drinks 🥇 Sponsors: @inscaleglobal and @laravelphp REGISTER NOW: luma.com/d0fl0bwr
2
17
32
13,126
Bref retweeted
I often get asked about the differences between serverless and containers/servers I updated @brefphp docs to be much more upfront about what to expect to migrate to serverless. Am I missing something? What's unclear?
2
1
3
559
Bref retweeted
24 Oct 2025
From a concept designed in @figma to a live implementation with @tailwindcss and @vuejs. Enjoying working with @matthieunapoli on this project for @brefphp 🌤️✨
3
2
71
6,245
Bref retweeted
That moment when you learn that one of the most well known and respected company on the internet uses Bref… but that they don't allow sharing the name 🥹
1
1
17
2,091
Bref retweeted
New: run Laravel Tinker in AWS Lambda 🎉
3
5
18
2,093