DEV Community

Cover image for What Laravel Rust means for a PHP developer
Alberto Arena
Alberto Arena

Posted on Originally published at albertoarena.it

What Laravel Rust means for a PHP developer

On the evening of 1 December, Laravel announced Laravel Rust during Laravel Presents. I posted about it live, and I wrote that I wanted to see what stays the same for us PHP developers. This article is my attempt to answer that question after reading the announcement and the pages around it. It is also a list of the things that still confuse me. I'm not against the change. I have been reading about Rust and Go, and I'm happy to learn a new language, because I think developers have to stay dynamic. But I would not be honest if I said I felt only excitement.

I was not surprised, because there had been rumours. What I felt was confusion. Laravel has a huge community of PHP developers who love it and contribute to it, and the ecosystem is stable and nice to use. Then a new version arrives in a language that most of that community has never used. In the chat with other Italian Laravel developers that evening, several of us shared the same doubts and fears. This article is written for people like us: PHP and Laravel developers who are not moving to Rust tomorrow, and who want to understand what is happening before they decide anything.

"Laravel PHP is not going anywhere, and it is not entering maintenance mode."

Taylor Otwell, A letter to the Laravel community, 01/12/2026

What was actually announced

It helps to separate what exists from what was only announced. Laravel Rust is a first beta. The announcement says it is "near feature parity to Laravel PHP" and that the small gaps will be closed "within the coming weeks", but it does not list those gaps. Routing, middleware, sessions, authentication, models, queues, mail, testing helpers and Inertia are described as released. Migrations are written in Rust and compiled into the application binary, so a deployed server can run them without the source files. The stack is built on Axum and Tokio, and you can deploy the compiled binary yourself or use Laravel Cloud.

The number that travelled fastest was "18x faster". It comes from Laravel's own internal benchmark on Laravel Cloud, and the benchmark page explains it. In the best 10-second window of a load test that rose to 2,000 requests per second, Laravel Rust handled 1,774 successful requests per second and Laravel PHP handled 97. That is where 18x comes from. The apps were small and the database held only 200 short posts ("chirps") and 10 authors, and the author says results for more complex apps will be different. The same page also tests a steady, low load. There the response times of the two are similar, and the big difference is CPU use. I find that result more useful for most of us, because most of our applications never reach 2,000 requests per second. A lower CPU use may still matter for the hosting bill.

Laravel's benchmark table at peak load, comparing requests per second, response times and memory for Laravel Rust, Rocket, Beego, Rails, Django and Laravel PHP

Table from Laravel's benchmark page, by Sam Rose. The benchmark is run by Laravel itself.

Two other facts matter for the rest of this article. In the same letter, Taylor Otwell says that both frameworks will continue in parallel. And Freek moved his blog to Laravel Rust on day one, while Spatie published 27 of its ported packages on crates.io. Those ports are at version 0.1.0, and Spatie says it will keep supporting the PHP packages "for a very long time".

The worry about reviewing code we cannot read

My first worry is about review. The announcement says Laravel Rust is built with the view that "humans will increasingly neither write nor manually read application code at scale". I understand that languages matter less in the age of AI coding agents. But as a developer I am still responsible for what goes to production, and I don't know how I can review code written in a language I have never used. Rust has its own constructs, such as ownership and a very strict compiler, and they are different from anything in PHP. A PHP developer cannot skim Rust code and feel safe about it.

The people moving fastest tell the same story, even if they do not frame it as a worry. Spatie used AI to port its packages, and the agent received the PHP implementations, the documentation and the tests that the team had refined for years. In the Spatie post about the ports, Freek wrote that for this first pass they "mainly reviewed the public APIs and extension points" and "spent less time on the code underneath". That is a reasonable choice from a team that knows exactly how its packages should behave. It also shows what the safety net was: years of knowledge and a full test suite. Freek's own conclusion in his blog post is that "understanding the concepts still matters". I agree, and I think it is the most useful sentence in all the material for people in my position.

Why Rust and not Go

The part I understand least is the choice of language. Some people in our chat said Go is simpler to learn, and I'm not sure that is true, so I have been reading about both. None of the pages I read mention Go. The announcement gives these reasons for Rust: compile-time checks for things like column names, relationships and secrets, speed, and a framework "curated for a great developer experience when building with AI". Taylor's letter adds a strategic reason. He asks how many ambitious new projects in 2027 and later will choose PHP, and says he is "not content to sit quietly on the sidelines" while those projects choose other stacks. He also writes that "programming languages are an implementation detail" of the framework's philosophy.

I also know that Laravel is a company, and that new markets are a normal goal for a company. I want to be careful here. The letter does not give a commercial reason, so I cannot say the choice was commercial. It looks that way to me from the outside, and I may be wrong. What I try to keep in mind is that the company and the framework are different things, and that Taylor has committed to maintaining both Laravel Rust and Laravel PHP.

The risk for small teams and agencies

My third concern is about the small teams that will be asked to follow. Imagine a small agency or a freelancer who is persuaded to move a client project to Rust because the benchmark looks so good. The team has little experience with the language. If the application goes to production and later only one or two people can fully understand it, that is a business risk. The pool of developers who can maintain Rust code is smaller than the pool for PHP, the framework is days old, and I expect the ecosystem has not yet met real production problems at scale. Spatie says its ports "aren't stable releases yet", and Freek writes in the same post that he would try them in a side project first.

So my own rule for now is simple. A beta is not a basis for a client's production system, however good the first results look. I would feel the same about any new framework in its first weeks.

What stays the same

The concepts stay the same, and I think this is the good news for PHP developers. Laravel Rust has routes, middleware, jobs, queues, models with relationships, form validation, authentication and testing helpers. The names are familiar, and so is the mental model of how a web application is put together. If you know why a job should be queued, or why a relationship should be loaded on purpose, that knowledge still applies.

PHP itself is also not going away, and the packages we use today keep being maintained. I know some developers who do not use AI coding tools at all. I understand the resistance, but the Laravel Rust announcement assumes AI-assisted work much more than the PHP framework ever did, so it is worth understanding that assumption even if you decide not to follow it.

What we can do today

There are small things that I think make sense now, and none of them needs a decision about moving. The first is to read before we write. Freek's blog now runs on Laravel Rust, and its code is open source on GitHub. Reading a real Laravel Rust application next to the PHP concepts we already know is a cheap way to learn how much of it feels familiar. The goal is to be able to read Rust, and you do not need to become a Rust developer for that. Reviewing AI-written code in the language we already know is good practice too, because that skill will be needed in any language. Strong test suites matter as well, since the Spatie ports show that tests are what let a team trust code it did not write by hand. And if you want to try the beta, do it in a side project that no client depends on.

What to wait for

Some things are not known yet, and I would wait for them before making any big decision. The list of remaining gaps is missing, and so is a date for a stable release. It is also too early to say how the package ecosystem will grow beyond the first ports. Most of all, I would like to read reports from teams in production who are not the makers of the framework, ideally with an application bigger than a benchmark app.

I am still thinking about all of this, and I might change my mind on some points. If you are a PHP or Laravel developer with a different view, or if you have already tried the beta, I would like to hear what you found.

Originally published at albertoarena.it.

Top comments (0)