Laravel Rust is a new full-stack Rust framework built on Axum and Tokio. It brings Laravel's conventions to Rust applications, with routing, authentication, database tools, and background jobs included.
The framework is currently in beta. The installation documentation warns that releases before 1.0 may change APIs and configuration.
The main features include:
- Typed models and queries checked at compile time
- Inertia support for React, Vue, and Svelte
- Queues and durable workflows
- Project instructions and documentation for coding agents
#Typed models and async handlers #
Routes dispatch to async handlers with model binding and dependency injection. Models use Rust structs with typed columns, relationships, and scopes. Comparing a column against an incompatible type causes a build failure before the query runs.
The framework supports PostgreSQL, MySQL, and SQLite. Its asynchronous runtime lets other requests continue while a handler waits for database or HTTP responses. See the framework overview for examples.
#Inertia frontends #
Built-in Inertia support lets Rust handlers return React, Vue, or Svelte pages with props. Routing and authentication stay on the server. Deferred props let a page render while slower queries run in the background, and live props can refresh individual values over WebSockets. These features are outlined on the Laravel Rust page.
#Queues and durable workflows #
Background jobs support database, Redis, and Amazon SQS queues, with retry and backoff settings.
The workflow system handles processes that take hours or days. A workflow can send an onboarding email, sleep for three days, then check whether the user needs a follow-up. Laravel persists step results and resumes the workflow after deployments or worker restarts. Waiting for an external webhook can also be part of the same async function.
#Coding agent support #
New applications include AGENTS.md, CLAUDE.md, and skills for framework tasks such as validation, authorisation, and testing. The framework crate bundles Markdown documentation matched to the version in Cargo.lock, giving coding agents local guides for the installed version.
The development guide also covers shared Cargo build caches and reduced debug information for dependencies. These defaults reduce repeated compilation and the disk space used when working on several applications.
#Getting started #
The documented requirements are Rust 1.99 or later, Node.js, and Git. Install the new Laravel CLI using the instructions for your operating system, then create a Rust application:
laravel new example-app --rust
cd example-app
The CLI prepares the application, installs frontend dependencies, and compiles the project. New applications use Inertia with React, TypeScript, Tailwind, and Vite Plus.
After configuring your database, run:
laravel migrate
laravel dev
The development command starts the application, queue worker, and frontend development server. The installation guide covers CLI setup, database configuration, and deployment, including Laravel Cloud.