Case studies
This page collects case studies of serverless PHP applications built with or migrated to Bref.
These help learn for real use cases about costs, performance and migration efforts.
Applications
-
How Craft Cloud runs Craft CMS projects at scale on AWS Lambda with Bref.
-
How Treezor, a banking platform, went from legacy code on servers to a serverless architecture with Bref.
-
How Spreaker, a podcast hosting platform, rewrote a decade-old monolith with Bref, Laravel Octane and Livewire.
-
externals.io (opens in a new tab)
A case study of the migration of externals.io (opens in a new tab) to AWS Lambda using Bref. This includes performance and costs details.
-
returntrue.win (opens in a new tab)
A case study of the development of the returntrue.win (opens in a new tab) website using AWS Lambda, including a cost analysis.
Workers
-
🇫🇷 Enoptea (opens in a new tab)
Enoptea is a french startup that migrated their infrastructure of PHP workers from EC2 to Lambda. They halved their AWS costs and increased their performance while spending less time managing their servers.
-
PrettyCI.com (opens in a new tab)
PrettyCI (opens in a new tab) is a SaaS providing continuous integration for PHP coding standards. Internally, it runs PHP-CS-Fixer or CodeSniffer on AWS Lambda using Bref. This article is a good introduction on how AWS Lambda can be a good solution to run workers and background jobs.
-
MyBuilder (opens in a new tab)
MyBuilder is an online marketplace matching tradespeople with home owners. They used Lambda with Bref to create a highly scalable on-demand microservice to generate PDF reports. The solution involved creating their own layer (opens in a new tab) to include a self-compiled binary file to use alongside Bref's base PHP layer.
-
PDF reporting generation (opens in a new tab)
A case study of going serverless for PDF generation. They generated 2,000 PDFs in less than 2 min for $2 using Symfony and Bref.
Others
-
Serverless (opens in a new tab)
It isn't exactly about PHP over Serverless, but it gives us a general overview of how hundreds of teams are handling serverless across a diversity of projects. There are a lot of case studies from US Department of Defense streamlining open source contributions (opens in a new tab) to a project which has reduced back-end costs by 95% (opens in a new tab) and much more.