Laravel Rust Beta Delivers 18x Throughput Over PHP Version
Laravel Rust, a full rewrite of the Laravel framework in Rust, launched as a public beta on December 1, 2026, claiming 18x higher request throughput than Laravel PHP in benchmarks while preserving familiar conventions, but requiring developers to learn Rust and facing longer cold-build times.
Reading font

Announcement and Core Architecture
Taylor Otwell released Laravel Rust on December 1, 2026 as the first public beta. It is a complete web framework written in Rust, not a PHP extension or automatic code translator. The API is hand-picked rather than copied from the PHP version, and the official claim is that feature coverage is "almost identical" to the original Laravel.
Under the hood it uses Axum (the most widely used Rust web server library) and Tokio (asynchronous runtime handling thousands of concurrent operations without blocking on database or network). The entire framework is asynchronous, so a slow request does not affect others.
Deployment Model
The biggest practical difference is deployment. Laravel PHP applications require a server with PHP, extensions, and a process manager. Laravel Rust compiles to a single executable that even includes database migrations; it is copied to the server like any other binary. Familiar Laravel conventions remain: routes live in src/routes/web.rs, models use the #[model] attribute, and terminal commands are prefixed with laravel. Developers must, however, learn Rust, which has a steep learning curve.
Feature Set in the 0.x Beta
The 0.x documentation spans 11 chapters covering installation through testing. Key capabilities include:
Routing and validation with typed structs checking incoming data and explicit authorization rules (anyone, authenticated users, custom policies).
Models and databases supporting relationships, eager loading, and migrations for PostgreSQL, MySQL, MariaDB, and SQLite.
Job queues backed by database, Redis, Amazon SQS, or Laravel Cloud managed queues, with retries, chaining, and job batches.
Durable workflows — multi-step processes that survive server restarts, claimed as a first in the Laravel ecosystem.
Email, WebSockets, frontend via Resend or Amazon SES, Reverb-compatible WebSocket server, and Inertia.js support for React, Vue, and Svelte.
Social login (Google, GitHub, Microsoft), feature flags, OpenTelemetry tracing, and a standalone testing system.
Every new project ships with pre-baked coding-agent "skills" — ready-made instructions that tell tools like Claude Code or Codex how the framework is laid out. Otwell noted the project took about two months with cloud agents, while he designed the public interfaces himself. The laravel/rust GitHub repository was created on October 5, 2026.
Benchmark: 18x Throughput Claim
The headline figure comes from a test by Laravel developer advocate Sam Rose titled "Laravel PHP Throughput Up 18x". The test application is a small JSON API serving short messages (200 posts, 10 authors) against a MySQL database in read-only mode. Roughly 80% of requests fetch a paginated feed, 20% fetch a single message.
Each framework ran on a Laravel Cloud instance in the Canada Central region with 1 vCPU and 4 GB RAM. The k6 load generator ramped from 1 to 2,000 requests per second over 20 minutes; the peak sustained rate with zero HTTP errors was recorded for 10 seconds.
Results
Laravel Rust : 1,774 req/s, median latency 65 ms, memory 179 MB
Rocket (Rust) : 1,623 req/s, median latency 110 ms, memory 146 MB
Beego (Go) : 1,596 req/s, median latency 275 ms, memory 159 MB
Rails (Ruby) : 253 req/s, median latency 121 ms, memory 252 MB
Django (Python) : 183 req/s, median latency 689 ms, memory 147 MB
Laravel PHP : 97 req/s, median latency 1,995 ms, memory 481 MB
The 1,774 vs 97 ratio yields 18.3x, hence "18x". Laravel Rust edges out Rocket and Beego; the real gap is between compiled and interpreted languages. The PHP build used FrankenPHP with Octane (keeping the application in memory between requests), which is not the slowest PHP configuration. The benchmark repository is publicly available.
Build Times
Cold builds on Laravel Cloud: PHP ~27 seconds, Rust ~3 minutes 1 second (slowest of the six). Locally, incremental recompilation drops to 1.1 seconds, making daily development acceptable. Wake-from-sleep time falls from 712 ms to 154 ms, valuable for pay-per-request hosting.
Limitations and Caveats
No independent replication of the 18x result exists yet. Full reproduction requires a Laravel Cloud "Growth" tier or higher.
The test reads only 200 rows from a tiny database. In query-heavy business apps, most time is spent waiting for the database, so language advantages shrink. The benchmark author acknowledges different results for complex applications.
This is a 0.x beta; features are "almost" identical to Laravel PHP. Pre-1.0 versions may break compatibility, so projects should budget for manual updates and pin versions in Cargo.toml.
Installation
Entry point is the new Laravel CLI. On macOS and Linux (after installing Rust via rustup): curl -fsSL https://laravel.com/install.sh | sh Create a Rust project: laravel new example-app --rust cd example-app Default database is PostgreSQL; the starter includes Inertia, React, TypeScript, Tailwind, and Vite. Production builds use cargo run --release. Windows users follow the PowerShell script in install.ps1. Note potential PATH conflicts with existing laravel commands from Laravel Herd or the legacy PHP installer.
Will Laravel PHP Be Abandoned?
No. Otwell explicitly states Laravel PHP will not enter maintenance mode; both frameworks will be developed in parallel with weekly PHP updates continuing. PHP itself evolves (e.g., PHP 8.6 introduces new features). The move also has commercial logic: on the same day, Laravel Cloud opened to Rails, Django, FastAPI, Express, Next.js, Go, and Rust — all languages included in every plan at no extra cost. Otwell's company shifts from selling a PHP framework to selling a polyglot hosting platform; Laravel Rust is the showcase.
Laravel is not the first high-profile project to migrate to Rust for performance; Discord rewrote its desktop client in Rust, and developer tools (coding agents, etc.) are following the same path.
FAQ Highlights
License: MIT, same as Laravel PHP. Code in laravel/rust (app) and laravel/rust-framework (core). Only Laravel Cloud hosting costs money; binaries run anywhere.
Rust knowledge required: Yes. Types and memory management are pure Rust. Built-in coding assistants help but don't replace learning the language.
Automatic conversion from Laravel PHP: No converter exists. Code must be rewritten. For live apps, consider Octane or migrating only the highest-load services (e.g., high-traffic APIs).
Supported databases: PostgreSQL, MySQL, MariaDB, SQLite. Default is PostgreSQL; migrations compile into the binary. A macro safely binds parameters for manual queries, reducing SQL injection risk.
Stable release timeline: Approximately 6–8 weeks of beta feedback. No fixed date. Pre-1.0 may introduce breaking changes; pin versions and read release notes before upgrading.
Recommendation: When to Choose Which
Stick with Laravel PHP if:
Your app runs well, is well-maintained, and the server isn't at its limit.
Your team knows PHP but would need to learn Rust.
You depend on PHP packages unavailable in Rust.
Application logic is simple or traffic is low; the server is rarely the bottleneck.
If a Laravel app is slow, first check: latest PHP version, caching enabled, database queries optimized.
Conclusion
For current Laravel users, the announcement does not force immediate migration; PHP support continues. For new services that must handle high traffic on limited memory, or for developers wanting to try Rust with familiar conventions, Laravel Rust is a compelling option. However, for query-heavy business applications, it is prudent to wait for 1.0 and run independent benchmarks against real workloads. Moving to Rust eliminates a class of memory-safety bugs but not logic errors — a recent Laravel vulnerability (a single zero exposing another user's account) could happen in any language.
Author: Luo Yi
About this article
For attribution, corrections or content rights, contact