Batteries included. Zero overhead. Routing, typed models, queues, durable workflows, auth, and Inertia, all designed to work as one cohesive framework.
Requests and pages
- Routing
Async handlers, middleware, and resource routes.
- Validation
Declarative rules on structs, with structured errors automatically.
- Inertia
React, Vue, or Svelte pages with full server-side rendering.
- Testing
Full-stack HTTP tests that run in parallel.
Data
- Models
Compile-time typed columns, relationships, and scopes.
- Migrations
One schema API for PostgreSQL, MySQL, and SQLite.
- Cache
In-memory, database, and Redis drivers behind one API.
- File storage
Local disks and S3-compatible storage behind one API.
Users
- Authentication
Login, registration, and email verification built in.
- Authorization
Expressive policies for who can access what.
- Social login
OAuth sign-in with Google, GitHub, and Microsoft.
- Notifications
Deliver over email, SMS, and Slack from a single class.
Queues & workflows
- Queues
Background jobs backed by your database, Redis, or Amazon SQS.
- Workflows
Durable multi-day workflows that survive deploys and restarts.
- Scheduling
Recurring tasks defined right in your codebase.
- Broadcasting
Real-time browser updates over WebSockets.
Familiar from the first file.
Routes dispatch to async handlers, handlers declare the models and services they need, and queries are checked at compile time. If you know Laravel, you already know your way around.
Expressive routing.
Map URLs to async handlers with automatic model binding and dependency injection straight from the signature.
Routing docsTyped queries, verified at compile time.
Models map directly to Rust structs with strongly typed columns. Compare a column to the wrong type and the build fails before a query ever runs.
Models docs
Modern React and Vue frontends, without building an API.
Laravel Rust ships with Inertia built in. Render React, Vue, or Svelte pages straight from your Rust handlers, keeping routing, auth, and data loading on the server while delivering a full single-page app in the browser.
One monolith, zero API boilerplate.
Return a page component and its props directly from a Rust handler. No REST endpoints to maintain, no GraphQL schemas, and no client-side state sync.
Rendering pagesProps arrive straight in React.
No fetch calls, loading boilerplate, or manual JSON parsing. Your React, Vue, or Svelte page component receives typed props directly from your handler.
Explore InertiaDeferred and lazy props out of the box.
Render the page immediately and load slower queries in the background with inertia::defer, or fetch heavy sections on demand with lazy and optional props.
Deferred props
First-class queues and durable workflows.
Offload heavy jobs to your database, Redis, or Amazon SQS, or write multi-day durable workflows as a single async function that survives sleeps, deploys, and restarts.
Jobs as plain Rust structs.
Derive Queueable, configure retries and backoff with an attribute, and inspect any failed jobs out of the box.
Queues docsDurable workflows that survive deploys.
Every step executes once and checkpoints its result. Sleep for hours or days without holding memory, and resume right where you left off.
Workflows docs
Real-time updates over WebSockets.
Broadcast server events straight to the browser over Reverb, or wire them into Inertia live props so pages refresh automatically whenever underlying data changes, with zero manual WebSocket plumbing.
Broadcast events on any channel.
Annotate an event with public, private, or presence channels and dispatch it normally. Laravel handles channel authorization and Reverb delivery over your queue.
Broadcasting docsLive props that refresh themselves.
Attach a broadcast event to an Inertia prop with .live(). Whenever that event fires, connected browsers automatically refresh just that prop over WebSockets.
Live props docs
Async all the way down.
Built on Tokio and Axum, every handler runs asynchronously on a non-blocking runtime. While one request waits on a database query or an external HTTP call, your app keeps serving thousands of others without blocking a thread.
Run queries concurrently.
Execute independent database queries or HTTP calls in parallel with task::try_join!, so a page only waits on its slowest call.
Concurrency docsRespond now, finish in the background.
Hand off webhooks or follow-up work to task::background and return immediately, with application context, tracing, and graceful shutdown handled for you.
Background tasks
Declarative validation and full-stack tests.
Describe expected request payloads as typed structs with authorization and validation rules attached, then verify your routes, middleware, and policies with parallel full-stack tests.
Typed input validation.
Declare authorization and field rules right on your input struct. Invalid requests automatically return structured errors before your handler runs.
Validation docsParallel full-stack testing.
Run HTTP assertions through your real routes, middleware, and policies without booting a server. Every test gets an isolated app instance and runs concurrently.
Testing docs
Built for coding agents.
Every new Laravel Rust app ships with project instructions, focused framework skills, and version-matched Markdown docs bundled right in the crate. Paired with Rust's compiler and parallel test suite, agents build robust, idiomatic apps from day one.
Instructions, skills, and bundled docs.
Every new app includes AGENTS.md, CLAUDE.md, and focused skills under .agents/skills/ covering models, authorization, validation, queues, Inertia, and testing.
The laravel-rust crate also bundles the exact Markdown documentation for your Cargo.lock version, so coding agents read the real guides on disk instead of guessing.
Agent workflow docsRaw speed. Light footprint.
Compiled to native machine code, with no interpreter and no garbage collector.
Under identical workloads on Laravel Cloud, the same application handles 18x the peak throughput, uses an eighth of the memory, and wakes four times faster from scale-to-zero.
18x
higher request throughput
20%
lower median latency
8x
lower memory use
4x
faster median wake time
Measured on Laravel Cloud: peak throughput is the busiest 10-second window with zero failed requests during a 20-minute ramp; latency and memory are recorded at a steady 50 req/s; wake time is the median restore time from sleep across nine regions.