On 1 December 2026 Taylor Otwell announced Laravel Rust — a full web framework in Rust with Laravel's familiar conventions. According to the team it is not a line-by-line port but Laravel reimagined in idiomatic Rust. It is the first beta, and it is open source.
Below is what it is, what the code looks like, how to try it and what it means for people who write Laravel PHP.
In short
- What it is: a separate framework in Rust (built on Tokio and Axum) with routes, models, migrations, queues, scheduling, authorization, Inertia and tests — batteries included, like Laravel.
- Why: speed and less memory, but above all compile-time checks. A mistake in a column name, a relationship, input validation or authorization, and the code simply does not build.
- Who it matters to: teams where AI agents write most of the code. The compiler becomes a strict reviewer that never gets tired.
- Status: beta, 0.x versions, breaking changes possible before 1.0. Requires Rust 1.99 or later.
Why Rust, and what AI agents have to do with it
The announcement says it plainly: people will less and less write and read whole application codebases themselves, so strict guardrails — a compiler, types, conventions — matter more than ever.
What is checked at compile time:
- column names and model relationships;
- validated input;
- authorization: every input struct must declare an access rule, or the code will not compile;
- handling of secrets.
In PHP such mistakes show up at runtime or in review. Here the compiler catches them — including in code an agent wrote. Every new app comes with AGENTS.md, CLAUDE.md (which imports AGENTS.md) and seven ready-made agent skills: models and database, validation, authorization, queues and workflows, tests, the Inertia frontend and a general Laravel Rust skill.
What the code looks like
Routes — almost like Laravel PHP:
use crate::http::handlers::users;
pub fn routes(route: &mut Router) {
route.get("/users", users::index);
route.get("/users/{user}", users::show);
route.post("/users", users::store);
}
A model — a struct with the #[model] macro; relationships are declared with attributes:
#[model]
pub struct Post {
pub id: i64,
pub user_id: i64,
pub title: String,
pub body: Option<String>,
#[default]
pub votes: i64,
// ...
#[belongs_to]
pub user: BelongsTo<User>,
}
A query — typed: a typo in a column name is a compile error, not a 500 in production:
let posts = Post::query()
.filter(Post::published_at.is_not_null())
.order_by(Post::published_at.desc())
.limit(10)
.get()
.await?;
Queueing a job:
ProcessPodcast { podcast }.dispatch().await?;
Durable workflows — something new even for Laravel PHP: the whole flow is one async function, each step runs once, its result is persisted, and execution resumes across sleeps, webhooks, deploys and worker restarts:
#[workflow]
impl OnboardUser {
async fn handle(self, run: &Run) -> laravel::Result<()> {
run.step("send welcome email", self.send_welcome_email()).await?;
run.sleep(3.days()).await?;
if run.step("count projects", self.count_projects()).await? == 0 {
run.step("send tips", self.send_tips()).await?;
}
Ok(())
}
}
Tests — plain cargo test; tests run in parallel, each with an isolated application and, if needed, its own copy of the database.
How to try it
You need Rust 1.99+ (via rustup), Node.js LTS and Git. The Laravel installer is installed with a script — open it and read what it does before running it:
curl -fsSL https://laravel.com/install.sh | sh
laravel new example-app
When asked for a language, choose Rust. A new app comes with Inertia, React, TypeScript and Tailwind, and the default database is PostgreSQL (SQLite and MySQL are switched on in Cargo.toml). Then:
cd example-app
laravel migrate
laravel dev
laravel dev starts the app, a queue worker and the frontend build; the site opens at http://127.0.0.1:8000.
About the benchmarks
Laravel says the Rust version is 18 times faster than Laravel PHP. This is the team's internal measurement on Laravel Cloud with one test app:
- peak — 1,774 requests per second for Laravel Rust against 97 for Laravel PHP;
- memory — 16 MB against 134 MB;
- wake after scale-to-zero — 154 ms against 712 ms.
The numbers are impressive, but they come from the vendor. In your app the bottleneck is often the database or external APIs, not the language. Measure on your own workload.
What it means for PHP developers
- Laravel PHP is not going anywhere. Laravel presents the Rust version as a separate framework next to Laravel PHP. The announcement says nothing about dropping PHP.
- No reason to rewrite existing projects. Composer packages do not work in the Rust version, the ecosystem is only starting, and the API may change before 1.0.
- Where to try it now: a new small service with heavy load or tight memory limits; a team that already knows Rust or wants to learn it; a project where agents write a lot of code and you want strict checks.
- The entry barrier is Rust. Ownership and borrowing, async and compile times take time to learn, even if the project layout feels familiar from Laravel.
Along the way Laravel Cloud now runs more than PHP: Rails, Django, Go, Node.js and Rust apps.
Bottom line
Laravel Rust is a bold move: familiar Laravel conventions, Rust's speed and a compiler as a safety net for agent-written code. For experiments and new services it is a reason to try it now; for production, follow the beta and wait for 1.0.
How agents write and check code — in "Claude Code, Grok Build or Codex" and "AI code review". And for AI features in regular Laravel — in "Laravel and LLMs".
Based on Laravel's announcement of 1 December 2026 and the Laravel Rust 0.x documentation. (announcement, docs)