Laravel Rust: what does it mean for PHP apps?

Last verified: December 2, 2026
20 min read
News
Full-stack developer

Short answer: on 1 December 2026 Taylor Otwell shipped the first beta of Laravel Rust, Laravel rebuilt from scratch in the Rust language, and a day later the beta of Laravel Go. Laravel PHP stays and will be developed in parallel. The “18 times faster” benchmark comes from a simple test app and says little about how much your own app would gain. If you run a working Laravel application, you have nothing to do today. A new service that must handle heavy traffic on a small server bill is a good candidate for a trial, but only once a stable release is in production use.

The Laravel Rust page on laravel.com with the command laravel new example-app --rust

Source: laravel.com/rust, screenshot taken 2 December 2026.

#What is Laravel Rust?

Laravel Rust is a new framework written in Rust. No PHP runs underneath, and it is not a PHP-to-Rust compiler. In the announcement of 1 December 2026 Taylor Otwell describes it as Laravel “reimagined” in idiomatic Rust. Two well-known libraries sit below it: Axum handles HTTP and Tokio provides the async runtime. The code is MIT licensed in the laravel/rust-framework repository.

The beta covers nearly everything you use in Laravel PHP:

  • routing, middleware, sessions, authentication and authorization,
  • models with relationships, the query builder, migrations, seeders and Redis,
  • queues (database, Redis, Amazon SQS, Laravel Cloud queues), job chains and batches, the scheduler,
  • mail through Resend and Amazon SES, plus email, SMS and Slack notifications,
  • broadcasting with a Reverb server written in Rust,
  • Inertia with React, Vue and Svelte, including server-side rendering,
  • automatic OpenTelemetry tracing, social login with Google, GitHub and Microsoft, feature flags.

One thing is new and does not exist in Laravel PHP: durable workflows. A process that spans days, for example a welcome email, three days of waiting and a reminder, is written as a single function. Laravel stores the result of each step and suspends the run during the wait, so a workflow that waits two weeks does not occupy a worker.

The announcement says Laravel Rust is “near feature parity” with the PHP version and that the missing pieces should arrive within weeks. The documentation adds a warning: releases before 1.0 may change the API and configuration.

#What is Laravel Go?

On 2 December 2026 the Laravel Go beta followed. It has the same capabilities (routing, models, queues, workflows, Inertia), but you write it in plain, idiomatic Go. Otwell compares the two versions directly: Go gives up some of the “magic” of macros and a little peak speed, and in return it compiles very quickly and takes less disk space.

So as of this week Laravel has three frameworks: PHP, Rust and Go. On top of that, Laravel Cloud now runs Rails, Django, FastAPI, Express, NestJS, Next.js and more, as described in Aaron Francis’s post. The company stops being “the PHP company” and becomes a provider of a way to build applications that does not depend on the language.

#Why did Taylor Otwell build Laravel in Rust?

The reason is in his letter to the community. Otwell asks how many net-new, ambitious projects in 2027 will choose PHP, given that AI agents write more and more of the code instead of people. Laravel was created to make hand-writing code a pleasure. When agents write the code, other things matter: a strict compiler, strong conventions and ready-made, tested building blocks.

Laravel Rust was built in two months. Otwell writes that he used cloud agents heavily, but curated every API surface, convention and documentation page by hand. Every new app ships with built-in agent skills that teach an assistant to write and test code in the Laravel Rust style.

The choice of Rust matches GitHub’s data. According to the Octoverse 2026 report, Rust grew fastest by percentage among the top languages and doubled in a year, and in TypeScript, Python and Rust repositories an AI agent was involved in about 40% to 44% of merged pull requests, against about 21% for Java. TechRepublic reports that Rust’s monthly contributor community grew 162% year over year.

#What does the Rust compiler check for you?

This is the most interesting part of the announcement for anyone who maintains applications. Some errors that surface in PHP only in production or in an audit are stopped by the compiler in Laravel Rust:

Problem in an applicationLaravel PHPLaravel Rust
A form with no check on who may submit itpossible, depends on the developerthe code does not compile without an authorization declaration
Mass assignment (overwriting a field the form was never meant to change)$fillable and $guarded protect youonly fields declared in the struct are filled
N+1 queries from lazily loaded relationshipspossible, you have to watch for itrelationships never load lazily, you load them explicitly with with
SQL injection in a raw querydepends on how bindings are usedthe db::query! macro turns every value into a parameter
A password in the logs or in a JSON responsedepends on configurationthe Password and PasswordHash types are redacted and cannot be serialized
A typo in a column or route nameruntime errorcompile error

The compiler does not check whether the business logic is right: whether a discount is calculated from the correct amount, whether an invoice has the correct due date. For that you still need tests, code review and someone who understands the requirements. Laravel Rust has a good base here: each #[laravel::test] starts an isolated in-memory app with a controlled clock, so you can test the whole HTTP stack without starting a server.

#How fast is Laravel Rust?

The “18x” figure comes from Sam Rose’s benchmark from the Laravel team. The test looked like this:

  • the same app in six frameworks, with two endpoints: a list of short posts and a single post (80% of traffic to the list, 20% to a single post),
  • MySQL with 200 posts and 10 authors, so a deliberately small database,
  • the app on a Pro 4 GiB instance in Laravel Cloud, region Canada Central,
  • k6 ramped traffic from 1 to 2,000 requests per second over 20 minutes,
  • the result is the best 10 seconds with not a single HTTP error.

Throughput table from the Laravel benchmark: Laravel Rust 1,774 requests per second, Rocket 1,623, Beego 1,596, Rails 253, Django 183, Laravel PHP 97

Source: Sam Rose, “Laravel Rust: 18x the throughput of Laravel PHP”, Laravel blog, 1 December 2026, screenshot.

FrameworkRequests per secondp50 (ms)p99 (ms)RAM
Laravel Rust1,77465137179 MB
Rocket (Rust)1,623110213146 MB
Beego (Go)1,596275940159 MB
Rails253121283252 MB
Django183689987147 MB
Laravel PHP9719952707481 MB

At calm traffic, 50 requests per second for five minutes, all frameworks answered about equally fast (median 58 to 78 ms). The difference shows in resources: Laravel Rust used 4.2% CPU and 16 MB RAM, Laravel PHP 52.4% CPU and 134 MB RAM.

Aleks Samokhin published an independent measurement on 2 December. On fresh DigitalOcean servers running Ubuntu with one vCPU, also in k6, he reports that Laravel Rust handled 10 to 20 times more API traffic and about 30 times more page traffic than Laravel PHP. These are early tests by one person, described in a post on X, with no published configuration.

#Is Laravel Rust really 18 times faster?

The result is real, but it belongs to one specific test. Before you use it in a budget conversation, check five things:

  1. The app is deliberately simple. The author says himself that complex apps will give different results. In a typical shop or B2B system the time goes into database queries, external APIs and images, not into the framework itself.
  2. Laravel PHP was not tuned for the query. According to the benchmark repository it ran on PHP 8.5 with Octane and FrankenPHP and four workers, but with default Eloquent, which builds full model objects on every request. The results post itself does not describe this.
  3. The database was small. 200 records fit into the MySQL buffer cache. With a million orders the bottleneck is indexes, not the language.
  4. The build takes longer. A cold build on Laravel Cloud has a median of about 3 minutes for Rust against 27 seconds for PHP. Every deploy and every CI iteration costs more time.
  5. Waking up is faster. When scaling to zero, Laravel Rust wakes in a median of 154 ms, Laravel PHP in 712 ms. That matters for rarely used services.

The sharpest comment came from the developer behind the davert account, who posted the same table with an ironic caption: Laravel was the slowest framework, nobody cared, everything worked for years, and now suddenly everything has to be rewritten in Rust urgently. The joke lands: an application that serves its traffic and earns money did not get slower on 1 December.

The sensible conclusion from the benchmark is narrower than the headline: on the same server, Laravel Rust will carry far more traffic and use much less CPU. Whether that lowers your bill depends on where your application loses time today.

#Is PHP slow? Symfony on FrankenPHP

On 2 December the developer Zhan published a repeat of the benchmark with the same app, the same k6 script and the same data, plus an extra version in Symfony 8.2 on PHP 8.5. Each app got 1 vCPU and 4 GiB of RAM, with MySQL 8.4 separate. The test ran locally in Docker on an AMD Ryzen 7 8845HS, so the numbers are not directly comparable with Laravel Cloud.

AppRequests per second (ramp)p99 (ms)Peak RAM
Symfony + Swoole1,9908.173 MiB
Symfony + FrankenPHP1,99132.6100 MiB
Laravel Rust1,99110.086 MiB
Laravel PHP with JIT and toBase()1,0611,499538 MiB
Laravel PHP with default Eloquent1374,413314 MiB

The first three apps reached the ceiling of the test, about 2,000 requests per second, with no HTTP errors. Symfony on FrankenPHP had the same worker settings as Laravel Octane: four workers, a restart every 500 requests and JIT. Laravel PHP with a simpler query (toBase(), a join in SQL instead of building models) grew from 137 to 1,061 requests per second on the same hardware, although at peak traffic k6 could no longer send some of the requests.

The author asks in his post whether PHP was ever the problem, and he notes himself that local measurements do not rank languages. The practical conclusion for a company with a PHP application: before you price a rewrite in Rust, check what an application server in worker mode (Octane, FrankenPHP, Swoole), JIT and rewriting the heaviest queries can give you. In this test, rewriting the query alone produced an almost eightfold gain with no change of language.

#How much server cost does Laravel Rust save?

A simple ratio falls out of the benchmark. At a steady 50 requests per second Laravel PHP took 52.4% of the instance’s CPU and Laravel Rust 4.2%. That is about 12.5 times less processor for the same work. In rough terms: traffic that today needs a dozen or more PHP application instances, Laravel Rust could serve on one, as long as the bottleneck is application CPU and not the database.

This is a calculation from a single test, and it compares against Laravel PHP with default Eloquent; a tuned PHP application, like Symfony in Zhan’s test, uses comparably little CPU. It does show where Laravel Rust makes the most financial sense: in services you scale horizontally by adding servers at peak hours, and in applications where you pay for every minute of CPU. A company website with a few thousand visits a day will not see the difference on its bill, because it fits on the smallest server anyway.

Memory works out similarly. At the same traffic Laravel Rust held 16 MB of RAM, Laravel PHP 134 MB. With many small services on one machine, for example separate APIs for several clients, that difference decides how many services fit on the box.

#What does async mean for AI calls?

In its classic setup Laravel PHP handles one request per process. While a process waits for a slow database query, another system’s webhook or the answer from a language model API, it stands still and does nothing else. At higher traffic you run out of free processes and further requests queue up.

In Laravel Rust the whole stack is asynchronous: HTTP handling, middleware, database queries, the HTTP client, Redis, queues, S3, SQS and WebSockets do not block threads. The announcement gives exactly this example: while one request waits on a long AI API call, the same threads serve thousands of other requests and queued jobs. Operations that block by nature, such as bcrypt password hashing or writing to local disk, Laravel moves to a separate thread pool.

For applications that call external language models more and more often, this is a practical difference. A model response can take several seconds or longer. In PHP you solve it with queues and workers; in Laravel Rust some of these cases can be handled directly inside the request. For parallel work the framework has ready helpers: task::try_join! runs several independent queries at once, task::select! takes the first answer out of several, and task::background runs a light task after the response has gone to the user.

If you are rolling out features based on language models in your company, I cover testing their output and the limits of what AI may decide in my work on AI implementation.

#Will Laravel PHP be abandoned?

Otwell answers this in the letter without hedging. In the English original: “Laravel PHP is not going anywhere, and it is not entering maintenance mode”. Weekly releases are to continue, and new capabilities from Laravel Rust will be carried over to PHP. The first new feature for PHP shipped the same week: Agent Kit and Converse, a ready-made AI agent in Laravel that you can connect to Slack, Telegram, GitHub or your own app.

Not everyone believes this in the long run. A French developer behind the PrestaSafe account wrote on 2 December that he believes Otwell is sincere, but expects Rust to largely replace PHP in the Laravel ecosystem within 5 to 10 years. That is an opinion, not an announcement. For a company with a Laravel application the practical conclusion is the same in both scenarios: nothing needs rewriting in a panic, but for new projects it is worth knowing both options.

#How much of the web still runs on PHP?

Worry about the future of PHP has a basis in the data. W3Techs measures the share of server-side languages across sites where one can be determined:

DatePHPJavaScript (server)
1 January 201580.6%0.1%
1 January 202078.9%0.8%
1 January 202575.2%4.0%
1 January 202672.4%5.4%
2 December 202667.8%9.2%

Over ten years PHP lost about one percentage point a year, and in 2026 alone it lost almost five. WordPress looks similar: 43.0% of all websites on 1 January 2026, 38.2% in December. Over the same period the share of sites with no recognized CMS rose from 28.6% to 33.2%, and server-side JavaScript from 5.4% to 9.2%. It looks like a shift towards sites and applications written from scratch, often with AI help, but W3Techs gives no cause, so that is interpretation, not measurement. Lovable, a tool that builds sites from a chat with AI, already runs 0.6% of all websites according to W3Techs, the same share as Drupal.

Two thirds of sites with a known language still run on PHP. That is an enormous base of applications that someone has to maintain, update and develop for years to come.

#Should you rewrite your Laravel app in Rust?

For most companies the answer today is no, but it helps to know when it turns into yes. A simple table helps:

SituationRecommendation
A working Laravel PHP app, traffic fits on the current serverstay on PHP, keep Laravel and the PHP version up to date
The app is slow, but profiling shows slow database queriesindexes, cache and queues first, the language fixes nothing here
A new API service with heavy, uneven traffic (integrations, webhooks, real time)a good candidate for Laravel Rust or Laravel Go after 1.0
Server cost is a large budget item and CPU is the bottleneckmeasure one endpoint in Laravel Rust on a copy, then calculate
The team knows only PHPLaravel Go will be easier to take over than Rust
An app critical to revenuewait for the stable release and the first patch releases

Rewriting an application is more than code. It also means data migration, tests of every path, new build and deployment processes, monitoring and people who can maintain Rust. A more sensible first step is to carve out the one service that loads the server most and write it in the new framework next to the existing app. The shared Laravel convention across all three languages makes that much easier.

The second issue is reading the code. davert on X posted an example middleware in the Laravel Rust style that sets API rate limits by customer plan, and asked whether you understand it:

#[middleware]
async fn api_limits(request: Request, next: Next) -> Response {
    let team = request.team();

    let (per_minute, per_day) = match team.plan {
        Plan::Free => (60, Some(1_000)),
        Plan::Pro => (600, Some(50_000)),
        Plan::Enterprise => (3_000, None),
    };
    // uploads and search are expensive: a smaller share of the limit
    let (per_minute, bucket) = match request.route_group() {
        "uploads" => (per_minute / 6, "uploads"),
        "search" => (per_minute / 2, "search"),
        _ => (per_minute, "api"),
    };

    let mut throttle = Throttle::per_minute(per_minute)
        .bucket(bucket)
        .by(format!("team:{}", team.id));
    if let Some(day) = per_day {
        throttle = throttle.and(Limit::per_day(day));
    }
    throttle.handle(request, next).await
}

Source: davert’s post on X, 2 December 2026, code transcribed from the screenshot; an illustrative example that may not match the framework API exactly.

The logic is simple: the Free plan gets 60 requests a minute and 1,000 a day, Pro 600 and 50,000, Enterprise 3,000 with no daily cap, and uploads and search get a smaller share of the limit. To verify it, though, you need to understand match, Option (Some and None), let mut and .await. If an agent writes code like this and nobody on the team reads it with understanding, nobody will notice a mistake in the limit for your highest-paying customer either.

If you are asking whether your Laravel application needs a change of technology or a proper performance review, start with a Laravel application review. For Symfony systems I go through the same questions under Symfony development.

#Does Laravel Rust affect WordPress and WooCommerce?

Laravel Rust changes nothing about how WordPress sites run. WordPress, WooCommerce and plugins run on PHP, and there is no plan for that to change. The decline of WordPress in the W3Techs statistics is a separate phenomenon and has nothing to do with the Laravel announcement.

For the owner of a shop or company site a closer date matters more than the future of a language: security fixes for PHP 8.2 end on 31 December 2026. If your server runs 8.2 or an older version, check your theme and plugins before changing, as I describe in the post on PHP 8.6 and WordPress.

There is also common ground. WordPress is increasingly one part of a larger system: the content stays in WordPress, and next to it runs a fast service for search, prices or an ERP integration. Such a service may one day be built in Laravel Rust or Laravel Go while WordPress keeps managing the content.

#How do you try Laravel Rust?

According to the installation docs you need Rust 1.99 or later, Node.js and Git. You install Rust with the official rustup installer and create the app with the new Laravel CLI:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
laravel new example-app --rust

If you have an older Laravel CLI or Laravel Herd, the documentation describes how to set the PATH. You deploy the finished app as a single compiled binary to your own server or to Laravel Cloud. Database migrations are compiled into that file, so you do not need the source code on the server.

A sensible test looks like this:

  1. Pick one endpoint from your existing app that loads the server most, for example a product list with filters or an endpoint for a mobile app.
  2. Write it in Laravel Rust against a copy of production data, with the same queries and the same cache.
  3. Measure both endpoints in k6 on an identical server, under realistic traffic and not only at the maximum.
  4. Compare CPU and memory use at normal traffic, because that is what turns into the server bill.
  5. Count the team’s time: build, deployment, learning Rust and maintenance over the following years.

Only these numbers tell you whether the move pays off. The vendor’s benchmark only tells you that collecting them is worthwhile.

#What does this week change for the market?

The biggest change is not about performance. For years Laravel was the main reason new companies picked PHP for web applications. Now the same convention is available in Rust and Go, and the framework’s creator says plainly that the language is an implementation detail for him.

For companies that commission software, this means more choice without giving up a familiar way of working. A Laravel developer who knows the project structure, queues and Inertia will find their way around Laravel Rust faster than around bare Axum. For teams maintaining PHP applications nothing urgent changes. Updates, tests and sound architecture matter as much today as they did before the announcement.

If you are planning a new system or wondering what to do with an existing Laravel application, tell me what the application does and where it slows down today. I reply by email within 24 hours on working days.

Next step

Turn the article into an actual implementation

This block strengthens internal linking and gives readers the most relevant next move instead of leaving them at a dead end.

Frequently asked questions

Practical answers to apply the topic in real execution.

Will Laravel PHP be abandoned?#
Not according to its creator. On 1 December 2026 Taylor Otwell wrote that Laravel PHP is not entering maintenance mode, that weekly releases will continue and that both frameworks will be developed in parallel. The first new feature for PHP is Agent Kit.
Is Laravel Rust ready for production?#
It is a 0.x beta in which the API and configuration can still change. The Laravel team expects a stable release after six to eight weeks of feedback. You can test it on a new, small service; a business-critical app is better moved after 1.0.
Is Laravel Rust really 18 times faster?#
In one Laravel test on a simple app with two endpoints: 1,774 against 97 requests per second. Laravel PHP ran on Octane with FrankenPHP but without query optimisation, and in an independent repeat Symfony on PHP 8.5 matched Laravel Rust. Measure it on your own app.
Does Laravel Rust change anything for WordPress sites?#
Not directly. WordPress and WooCommerce run on PHP and will keep doing so. For a site owner the PHP version on the server matters more: security fixes for PHP 8.2 end on 31 December 2026.

Related Articles

TYPO3 12 end of support: what now?

TYPO3 12 lost free updates on 30 April 2026 and TYPO3 13 runs out at the end of 2027. What ELTS covers, how an upgrade to TYPO3 14 works, what makes it expensive, and what UK GDPR and Irish data protection law expect from an unpatched site.