Laravel at scale
Max · 20 March 2026 · 8 min read
đź‘‹ A little about me
I joined Street back in September, coming from a Cyber Security startup where I lead a team of ten engineers. My team built software to protect people from subtle mistakes which snowball into huge breaches, think detection & education rather than intervention & antivirus. I stayed very hands-on, running projects, building infrastructure and writing code alongside the team as we scaled up.
Working at Street has been a very different experience from the moment their in-house recruiters first called. Previously life was chaotic, we were a startup in the midst of that ever-so-difficult transition period and you could feel it. But Street has already survived that and you can feel that too; they have structure, engineer progression with individual-contributor tracks, low-turbulence workloads, and functional agile! Honestly, it feels pretty cosy these days, even if the work still keeps me on my toes.
Joining the Onboarding Experience Team
I work on the Onboarding Experience team, focusing on the Bridge product. Bridge is how we import new clients into Street, a CRM agnostic solution to a complex data normalisation problem, other CRMs really don’t keep things as tidy as Street! Over the past half-year my focus has been on scaling the product and smoothing out the developer experience; Bridge has undergone 4 years of rapid development and while the excellent PHP tooling keeps code clean, there’s pain points now and challenges on the horizon.
My work has involved large-scale projects and a gracious amount of autonomy: scaling queues, improving Redis performance, and implementing scaling techniques beyond what Laravel natively supports. I thrive on complex problems, and we have plenty. The most exciting thus far has been rebuilding how media is handled in Bridge. We’re talking terabytes of images, over half a million files, coming in all sorts of formats and referenced by multi gigabyte datasets. When I joined the team was handling it manually through a well documented, but error prone, set of bash commands. I automated it in PHP, rebuilt the system as greenfield, and optimised it for scale. That kind of challenge is exactly what I enjoy.

Migrations at Scale
One of the biggest technical challenges for Street has been migrations at scale, how do you change a table queried thousands of times a second? We work quickly, we release often, and our production database activity is far beyond what can be replicated locally. So for us, the answer was often “painfully”.
Our initial solution was via the human element; by adding reminders of safe release practices to PRs, requiring approval of migrations to ensure a thorough second look, and demonstrating the adverse effects of a working hour migration release on a large scale table.
But it wasn’t that simple, a migration which takes seconds locally and blocks nothing seems fine in PR. Maybe it’s a new column, a rename, a nothing change to a nothing sized dataset. But when these innocent looking migrations meet production scale databases? The metadata lock acquired by a single ALTER query pauses thousands of others, and the execution time leaps from microseconds to minutes, bringing their processes and the wider application to a standstill.
Then, there was our own scale. The engineering team is scaling rapidly, with skill levels ranging from rookies to rock stars, and they couldn’t all be looped in on these lessons & expectations. Onboarding was happening rapidly, people were releasing PRs on their first week, and the lessons needed time to soak in.
So I ask again, how do you change a table queried thousands of times a second? Well you need to do what Street does best, engineer a solution, solve the problem. Enter Will Hannigan, a developer on the Street product.
Collaborating with the Street team & Will’s thoughts on the problem
It was kind of something that had been bubbling away for years. As we were growing and adding new features, we needed to migrate databases, adding new columns or changing things. When people wrote those migrations in the typical Laravel way, it could cause performance issues. Sometimes the system would slow down, or parts of it would struggle because jobs couldn’t get a connection to the database to process properly.
We found a solution by leveraging automatically applied Online DDL Operations. I don’t want to cover what MySQL docs could in way more detail, but the DDL operations allow ALTER queries to run without a metadata lock, in concurrency to those thousands of queries running.
Laravel supports these natively using the lock() and instant() Blueprint methods, but ensuring their usage in pull requests was proving difficult even after Laravel provided native support. The idea of the lock safe system was to enforce the right approach automatically, so we didn’t have to worry about it manually. Before, engineers might have to run migrations late in the evening, which isn’t sustainable.
We tied this together with a transaction gap searcher. Instead of having migrations immediately start running their ALTER queries without context of database workload, they check if any locks that are needed could be acquired first, they would look for long running queries, and they would know that when the migration does start it’s not going to hang for any longer than needed.
This all together gave us peace of mind, no more worrying constantly about the issue coming back. It also helps junior engineers and new starters, because the code that caused the issues before is otherwise normal in Laravel, it’s just fine in other contexts, but at Street’s scale, it wasn’t. Now that’s handled automatically, which makes life much easier.
Internal open source
Enter, open source. Street is but one of three major platforms maintained at Street Group, and with the other two still suffering from the solved problem, it was time to distribute the wealth to Spectre and Bridge.
Which is where I check back in. During a routine tech roadmap meetup, a meeting where we discuss how we can push Street’s engineering as a whole forward, I learned of Will’s solution. It was evident right away that he’d solved the problem being attacked from another angle within Bridge, so I began an open discussion with relevant engineers on how we could kick off code & solution sharing as a whole within Street.
Within a few hours we’d come to a consensus, it was time to start publishing solutions across teams. Street Group already had shared packages but they were functional, they were to make the software work or consume each other’s APIs, now it was time to share the solutions to DevEx problems and technical limitations.
I set to work and came out with lock-safe-migrations. A package which had to support & test for multiple Laravel & PHP versions, to cover Street’s separate major platforms, from the very first release. I achieved this by publishing Github releases so it could be consumed like a normal composer package, from a repository-linked source, with the older platforms starting out on feature-frozen LTS versions.
A few days later and the package is being unknowingly used in teams across Street and Bridge, with a rollout to Spectre seeming likely. It enforces best practices automatically, removing the human risk of slowdowns and outages, and it begins an era of a shared internal ecosystem of tools & solutions. This internal collaboration is something I’m really excited about, and it feels great knowing we’re laying the groundwork for more to come.

Using Laravel at Scale
Working with Laravel at scale is very different from the out-of-the-box experience, and this is a fairly tame example for why. Laravel is beautiful and intuitive when it works, but at extreme scale, you encounter limitations. You need to override parts of the framework, write custom service providers, and understand the framework deeply, almost as a maintainer would.
Scaling Laravel has taught me how to dive into the nitty-gritty of a framework that many engineers use without ever looking under the hood. You start to see that there’s no magic; it’s just PHP doing exactly what it’s designed to do, albeit with some complex execution paths. But understanding that gives you the ability to build custom solutions that most Laravel engineers never have to think about. And while Laravel isn’t always the first choice for enterprise-scale systems, it absolutely works for them, and with a bit of TLC the classic “it just works” out of the box experience comes right back.
Advice for Candidates
For anyone considering joining Street or doing a tech test with us, my main advice is: don’t let AI complete your test for you. We embrace AI as a tool to make our jobs easier and iterate faster here, heck we’re redesigning the fundamentals of how we work around it, but the tech test is your opportunity to show your own understanding of the technologies you’ll be expected to use daily at Street. It’s a great place to work, so don’t throw that opportunity to flex your technical muscles away, show us what you’ve got!
Looking Ahead
Street has given me the chance to tackle complex engineering challenges in a supportive, collaborative environment. From rebuilding core systems to creating internal packages that teams across the business can share, every project has been a learning opportunity. Working here is about understanding scale, engineering thoughtful code, and being part of a team that values deep technical knowledge as much as results.
If you’re excited by the idea of using Laravel at scale, solving real engineering problems, and contributing to shared solutions across multiple products, this is a place where you can do exactly that.
To find out more about life at Street Group, follow us on LinkedIn, see what our team are saying on Glassdoor, or visit our careers site.






