Laravel now speaks Rust
On 1 December 2026, Taylor Otwell released the first beta of Laravel Rust, a full-stack Rust framework that brings Laravel's conventions to a compiled, high-performance language. It is not Laravel with a new coat of paint. The team calls it Laravel reimagined in idiomatic Rust.
I work in Laravel every day, so I read the launch post and the development docs closely. This post covers what's new, why a framework like this is needed, and when PHP is still the better choice.
What's new
Laravel Rust is built on Axum and Tokio and is asynchronous throughout. The beta covers routing, middleware, sessions, authentication, database models, queues, mail, durable workflows, broadcasting, Inertia and testing helpers. The ideas that stand out:
- One binary. Your whole app compiles into a single binary, and migrations are Rust files compiled into it. A server can run
migratewithout any source files on it. - Compile-time checks. Column names, relationships, validated inputs, authorization checks and secret values are verified when you build, not when a user hits the page.
- Authorization you can't forget. Every request input struct must declare who may submit it (
anyone,authenticated, or a customauthorizefunction), or the code won't compile. - Routes that can't break. URLs are generated from handler functions, such as
route!(posts::show, &post), so renaming a path can't leave a broken string URL behind. - Safer queries.
db::query!never concatenates values into SQL. Captured variables become bound parameters, which prevents SQL injection by construction. - No hidden N+1. Relationships are never lazy-loaded behind your back. You load them up front with
with. - Agent skills built in. Every new app ships with skills that teach coding agents how to write and test idiomatic Laravel Rust.
It is still a first beta. The launch post says it is near feature parity with Laravel PHP and that the remaining gaps will close "within the coming weeks."
Why we need it
The launch post gives two main reasons: performance, and coding with AI.
Performance. In Laravel's internal benchmarks on Laravel Cloud, Laravel Rust runs 18x faster than Laravel PHP and uses much less CPU and memory. The post says that lowers infrastructure cost and tail latency, and lets one instance absorb more traffic during spikes. Treat the number with care: it comes from Laravel's own benchmark and is not independently verified.
Correctness. Most production bugs I see are small mistakes: a wrong column name, a missing authorization check, an accidental N+1. Rust's compiler catches that whole family before deploy, and the framework is designed so the compiler has plenty to check.
AI-era guardrails. The post argues that humans will increasingly neither write nor manually read application code at scale. In that world, a strict compiler and batteries-included conventions matter more than clever syntax.
My own take. Until now, a Laravel team that outgrew PHP's performance ceiling usually had to leave Laravel and learn a new ecosystem from scratch. Laravel Rust gives that team a path that keeps the conventions they already know.
What development looks like
The development docs cover the daily workflow, and it feels familiar if you come from Laravel.
laravel dev starts the web server, a queue worker and Vite's asset server together. Saving files in src/, Cargo.toml, Cargo.lock or .env rebuilds and restarts the server and queue worker, then refreshes the browser. Edits in resources/ hot-reload through Vite.
| Command | What it does |
|---|---|
laravel dev |
Runs server, queue worker and Vite together with auto-restart |
laravel migrate |
Runs migrations (Artisan-style, from any directory in the project) |
laravel route:list |
Lists routes |
cargo test |
Runs the test suite (cargo test posts filters by name) |
cargo clippy --all-targets |
Lints the code |
npm run check |
Checks frontend lint and formatting |
laravel reverb:start |
Starts WebSockets, after enabling the reverb feature |
Two practical details. Rust builds eat disk space, so every new app includes a shared Cargo build cache that multiple apps and Git worktrees reuse. And the docs suggest avoiding local release builds in favor of CI or Laravel Cloud.
The AI setup is the most unusual part. Each app gets an AGENTS.md file, a CLAUDE.md that imports it, and seven on-demand agent skills covering models, validation, auth, queues, testing and Inertia. The laravel-rust crate also bundles version-matched docs so agents don't mix up APIs.
PHP or Rust: how I'd choose
The launch post says nothing about whether Laravel PHP stays fully supported, and it gives no advice on when to pick Rust. The table below is my own judgment, not Laravel's.
| Laravel (PHP) | Laravel Rust (beta) | |
|---|---|---|
| Speed of shipping | Fastest for CRUD-heavy apps | Slower: compile times, stricter code |
| Runtime performance | Fine for most apps | 18x throughput in Laravel's own benchmark |
| Bugs caught before deploy | Tests and static analysis | Compiler checks columns, auth, routes |
| Learning curve | Gentle | Steeper |
| Deployment | Mature, well known | Single binary |
| Maturity | Years of packages and answers | First beta, APIs may change before 1.0 |
I'd stay on PHP for most business apps, internal tools and MVPs. I'd look at Rust when latency, server cost or correctness is the real bottleneck, and only after measuring that bottleneck on a real workload.
Final thoughts
Laravel Rust isn't a reason to rewrite anything today. It's a beta, and the headline benchmark comes from Laravel itself. But Laravel investing in Rust says a lot about where backend work is going: faster runtimes, stricter compilers, and code that humans and AI agents both have to trust. I plan to try it on a side project first.
Sources
- Introducing Laravel Rust, Laravel blog, 1 Dec 2026
- Laravel Rust development docs
