All posts
December 3, 20267 min readBy Ship Templates

Laravel Rust Guide: Architecture, Features & Getting Started

Explore Laravel Rust (laravel.com/rust), the official Axum & Tokio full-stack Rust framework. Learn setup, typed ORM, durable workflows, Inertia, and Cloud.

laravellaravel rustrustaxumtokiosaasweb frameworks

Laravel Rust (laravel.com/rust) is an official, batteries-included full-stack web framework released by Taylor Otwell and the Laravel team on December 1, 2026. Published as the laravel-rust crate on crates.io, it brings Laravel's conventions — routing, typed models, queues, durable workflows, authentication, and Inertia.js frontends — into idiomatic Rust built natively on Tokio and Axum.

Rather than a line-by-line port of PHP syntax, Laravel Rust reimagines the Laravel developer experience around Rust's compiler guarantees, zero-garbage-collector performance, and single-binary deployments — while keeping classic PHP Laravel fully active and supported.


Why Laravel Built a Full-Stack Rust Framework

For over a decade, Rust developers wanting to build a SaaS or web product had to glue together separate crates for routing, migrations, sessions, queues, email, validation, and frontend integration. Laravel Rust solves that fragmentation with one cohesive, opinionated stack.

A major driver highlighted in the release is AI-assisted development: as teams increasingly rely on coding agents to generate features and refactors, Rust's strict compiler and type system act as deterministic guardrails that catch invalid column names, mismatched types, and concurrency bugs before code ever reaches production. Every new Laravel Rust project also ships with built-in agent skills to help coding agents write and test idiomatic code reliably.


Core Features of Laravel Rust

Laravel Rust bundles the full-stack primitives Laravel developers expect, engineered for async Rust from the ground up:

1. Built End-to-End on Tokio and Axum

Every layer — HTTP routing, middleware, database queries, Redis operations, and real-time connections — runs natively on the Tokio async runtime and Axum web foundation. You inherit Rust's low memory footprint and predictable tail latency without giving up clean route definitions and controller structure.

2. Compile-Time Typed ORM and Query Builder

Laravel Rust provides typed database models and a fluent query builder backed by Rust's type system. Instead of discovering misspelled column names or broken relationship assumptions at runtime, the Rust compiler validates schemas, query parameters, and relationships at build time.

3. Durable, Fault-Tolerant Workflows

One of the standout capabilities in Laravel Rust is first-class durable workflows. You can express long-running, multi-step business processes (like onboarding sequences, billing follow-ups, or multi-stage pipelines) as async functions that safely pause for hours, days, or weeks and survive server restarts without pinning worker threads or losing state.

4. Built-In Queues and Single-Binary Workers

Background job queues work out of the box across database, Redis, Amazon SQS, and managed Laravel Cloud drivers (enabled via Cargo features such as redis or sqs). Instead of invoking an interpreted php artisan script, console commands and queue workers are compiled directly into your application binary:

example-app queue:work

5. Native Inertia.js Frontend Integration

Just like PHP Laravel, Laravel Rust integrates natively with Inertia.js. You can build modern single-page applications in React or Vue while keeping routing, authentication, validation, and server data loading inside one unified Rust monolith — no separate REST or GraphQL API layer required.

6. Authentication, Sessions, Middleware & Single-Binary Deployment

Session management, authentication helpers, request validation, and middleware pipelines come pre-wired. At deployment time, your entire backend compiles into a single self-contained binary with first-class build and hosting support on Laravel Cloud.


Getting Started with Laravel Rust

Prerequisites

  • Rust 1.99.0+ installed via rustup
  • Node.js LTS (for Vite and frontend assets)

1. Install the Laravel CLI

macOS / Linux:

curl -fsSL https://laravel.com/install.sh | sh

Windows (PowerShell):

powershell -ExecutionPolicy Bypass -c "irm https://laravel.com/install.ps1 | iex"

2. Initialize and Run Locally

Once your Laravel Rust project is scaffolded (or if you add laravel-rust directly to an existing Cargo workspace with cargo add laravel-rust), install frontend dependencies, generate your application key, run migrations, and launch the unified dev runner:

npm install
cp .env.example .env
laravel key:generate
laravel migrate:fresh
laravel dev

laravel dev starts the Rust development server, the Vite asset bundler, and the local queue worker concurrently in one command.


Laravel Rust vs. Laravel Go vs. Laravel PHP

Alongside Laravel Rust, Laravel also launched Laravel Go (laravel.com/go) and expanded Laravel Cloud into a multi-language hosting platform (supporting PHP, Rust, Go, Rails, Django, FastAPI, Flask, and Express). Here is how the three official Laravel frameworks compare:

Dimension Laravel PHP Laravel Go Laravel Rust
Underlying Stack PHP 8.3/8.4 + Octane/FrankenPHP Go net/http + goroutines Tokio + Axum
Memory & Runtime Garbage-collected PHP workers Garbage-collected static binary Zero-GC static binary, compile-time ownership
Compile Speed Instant (no compile step) Very fast compilation Slower incremental compiles
Standout Strengths Mature ecosystem (Filament, Cashier, Livewire), fastest MVP velocity Minimal learning curve, fast builds, strong concurrency Maximum throughput, flat p99 latency, strict compile-time safety
Frontend Support Livewire, Blade, Inertia (React/Vue) Inertia (React/Vue/Svelte) Inertia (React/Vue)
Best Fit Most SaaS apps, admin-heavy B2B products, rapid launches High-concurrency APIs & web apps with fast iteration Compute-heavy, latency-critical, or high-assurance backends

When Should You Choose Laravel Rust?

  • Pick Laravel Rust if you want Laravel's structure, Inertia monolith workflow, queues, and durable workflows paired with maximum runtime efficiency, zero-GC latency, and compile-time safety — especially for high-throughput APIs, compute-heavy SaaS backends, or AI-assisted codebases where compiler verification shines.
  • Pick Laravel Go if you want compiled binary performance and strong concurrency with faster compile times and a gentler learning curve than Rust.
  • Stick with Laravel PHP if you want the deepest package ecosystem today (Filament admin panels, Livewire, Cashier, and thousands of battle-tested community packages) and the fastest path from idea to paying customers.

Frequently Asked Questions

Is Laravel Rust replacing Laravel PHP?

No. Taylor Otwell explicitly confirmed that PHP-based Laravel remains actively developed and is not going anywhere. Laravel Rust and Laravel Go expand Laravel's architecture and cloud platform to compiled languages rather than replacing PHP.

What HTTP framework does Laravel Rust use under the hood?

Laravel Rust is built natively on Tokio (Rust's async runtime) and Axum (for HTTP routing and request handling), giving developers standard Rust ecosystem compatibility alongside Laravel conventions.

Can I use React or Vue with Laravel Rust?

Yes. Laravel Rust ships with native Inertia.js support and Vite integration so you can build React or Vue frontends backed directly by your Rust controllers.

How do durable workflows work in Laravel Rust?

Durable workflows persist execution state across steps, allowing a single async workflow to pause for days or weeks and resume cleanly even across server restarts or deployments without holding active memory.

Where can I deploy a Laravel Rust app?

Because Laravel Rust compiles to a single binary, it runs anywhere Linux containers run — and Laravel Cloud now supports building and deploying Laravel Rust applications natively alongside PHP and Go.


Build Faster Across the Laravel Ecosystem

Looking to launch a SaaS product or dashboard without building auth, billing, and UI scaffolding from scratch?

Production-Ready Starters

Skip weeks of boilerplate setup with complete source code, authentication, and modern UI.

All Laravel templates
Continue Reading
All guides →

Ready to ship faster?

Browse production-ready web framework templates and starter kits.

Browse templates