Dev.to WebDev 🛠 Dev 👁 0 📖 5 min read

Laravel Rust is in beta: what it means for teams running Laravel PHP today

On December 1, 2026, Taylor Otwell released the first public beta of Laravel Rust: a full-stack web framework for Rust that carries over Laravel's conventions. Laravel PHP isn't going anywhere; the team has said both wil

On December 1, 2026, Taylor Otwell released the first public beta of Laravel Rust: a full-stack web framework for Rust that carries over Laravel's conventions. Laravel PHP isn't going anywhere; the team has said both will be developed in parallel and PHP releases continue as normal.

I build and maintain Laravel PHP products for a living (subscription billing, multi-tenant SaaS, AI-agent integrations), so my first question wasn't "is it fast?" It was "what does this change for teams who already run Laravel in production?" Here's my read after going through the announcement, the docs and the benchmark write-up.

What Laravel Rust actually is

It isn't a PHP extension and it isn't a line-by-line translation. It's a new framework, built on Axum and Tokio, that ships the pieces you'd normally wire together yourself in Rust:

  • Routing, middleware, sessions, authentication and authorization
  • An ORM with relationships, a query builder, pagination, migrations and seeding
  • Queues (database, Redis, SQS and Laravel Cloud managed queues) with retries, chains and batches, plus a scheduler
  • Durable workflows: multi-day flows written as one async function that survive restarts (new to Laravel)
  • Mail, notifications, broadcasting with a built-in Reverb server, file storage
  • Inertia support for React, Vue and Svelte
  • Testing helpers and automatic OpenTelemetry tracing

Your whole app, including its migrations, compiles into one binary, with no interpreter and no boot cycle.

A few design choices stand out if you're coming from PHP:

  • Validation is typed. Input structs declare their rules and must declare authorization, and validation runs before your handler.
  • Queries are checked at compile time. Compare a column against the wrong type and the build fails.
  • No silent lazy loading. Eager loading is explicit, which removes a whole class of N+1 bugs.
  • New apps ship with AGENTS.md, CLAUDE.md and agent skills. The framework is openly designed for code that AI agents will write and humans will review.

Getting started (from the official docs):

laravel new example-app --rust
cd example-app
laravel migrate
laravel dev

That's the new Laravel CLI, not the Composer installer. If you already have Herd or the old installer, check which laravel is on your PATH first.

How to read the "18x faster" number

Laravel published a proper benchmark write-up, and it's worth reading the method, not just the headline.

  • The test app is a small JSON API with two endpoints and 200 rows in MySQL.
  • Each framework ran on the same Laravel Cloud Pro 4 GiB instance, with k6 ramping load over 20 minutes.
  • "Peak" means the best 10-second window with zero HTTP errors.

On that setup Laravel Rust peaked at 1,774 requests/second and Laravel PHP at 97. That's where 18x comes from. At a steady 50 req/s, CPU sat around 4–5% for Laravel Rust against about 52% for Laravel PHP.

Three caveats worth keeping in mind:

  1. It's the vendor's own benchmark, run on the vendor's own hosting. The author is open about this and invites corrections.
  2. The app is deliberately tiny. Real apps with heavier queries, external APIs and caching will behave differently.
  3. Check how Laravel PHP was served (PHP-FPM or Octane) before you compare. That choice alone makes a big difference to PHP throughput.

There's also a real cost: Rust builds are slower. On Laravel Cloud the median cold build was about 3 minutes for Laravel Rust vs 27 seconds for Laravel PHP. Incremental local builds were fast (about a second for a small change), but if you're used to "save and refresh", expect some friction.

Should you rewrite your Laravel app in Rust?

For almost every team running a Laravel PHP product today: no, not now. Here's how I'd think about it.

It's a beta. The team plans to call it stable after roughly six to eight weeks of feedback, and pre-1.0 releases can break APIs. Don't move a revenue-critical app onto that.

Most SaaS bottlenecks aren't the framework. In the products I work on, slow pages almost always come down to a missing index, an N+1 query, a slow third-party API or a queue that's backed up. Fix those first. They're cheaper and the gains are immediate.

Rewrites are where products go to die. Years of business rules live in your controllers, jobs and models. A rewrite has to rediscover all of them, and your customers don't care what language the API is in.

Where Laravel Rust does make sense:

  • A new, standalone service that sits next to your PHP app: a high-traffic public API, a webhook ingester, a real-time feed. You get Laravel conventions your team already knows and a single fast binary.
  • Long-running, multi-step processes. Durable workflows (onboarding sequences, multi-day billing retries, approval flows) are a genuinely new tool, and Laravel PHP doesn't have an equivalent built in.
  • Teams that already write Rust and want a batteries-included framework instead of assembling crates.

What I'm watching before using it for client work

  • The stable release, and how many APIs change on the way there
  • How the ORM and migrations handle a messy, real schema, not a fresh one
  • Community packages: Laravel PHP's ecosystem (Cashier, Socialite, Horizon, Nova, thousands of packages) is a big part of why teams choose it, and Laravel Rust is starting from zero there
  • Independent benchmarks on non-trivial apps

The bigger picture

The interesting part isn't Rust itself. It's the bet behind it: as more code is written by AI agents, compilers, types and strong conventions become guardrails. A framework that fails the build when an agent writes a bad query is a reasonable answer to that. Laravel shipping CLAUDE.md and agent skills in every new app says the same thing out loud.

If you run Laravel PHP today, keep shipping on it. If you're starting a performance-sensitive service next quarter, Laravel Rust is worth a prototype once it hits stable.

Sources: Laravel Rust announcement, Introducing Laravel Rust, Laravel Rust benchmark write-up, Laravel News, Laravel Rust docs.

I'm Rizwan Ali, a SaaS & AI agent developer working with Laravel, React and Stripe. I help teams ship billing, multi-tenant features and AI integrations on live Laravel products. Find me on LinkedIn or GitHub.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.