Sulat.com / Writing on AITuesday, December 1, 2026
Enter →
Developer Tools/1 December 2026

Taylor Otwell publishes Laravel for Rust on crates.io

I built a notes API with the new crate, ran its tests and made a release binary. Here's what works, what isn't public yet and where it sits among the Rust rewrites.

Red glass Laravel logo between a rusty gear and a wooden crate on a dark stage, for Laravel for Rust
Illustration: Sulat, featuring the Laravel logo

At a glance

  • Taylor Otwell published laravel-rust 0.1.0 to crates.io from Otwell's own account, as the umbrella over 26 crates built on Axum, Tokio and SQLx.
  • I built two apps with it and ran their tests, a SQLite notes API with compile-time checked models, validation and forward-only migrations among them.
  • A durable workflow that sleeps three days tested in a fraction of a second, because the test harness can move the clock forward.
  • Otwell describes it as spiritually similar to Laravel rather than a port, with conventions that coding agents can follow.
  • The crate's homepage, its listed repository and the README's app skeleton returned not found when I wrote this, so there's no official guide yet.

Taylor Otwell has published Laravel for Rust, a full-stack Rust web framework, to crates.io as version 0.1.0. The crate is laravel-rust, it was published from Otwell’s own crates.io account, and it sits on Axum, Tokio and SQLx.

I built two apps with it, ran their tests and made a release binary. It works, it’s opinionated, and a few things the README points to aren’t public yet.

How it got here

WhenWhat happenedSource
16 JulOtwell first hints in public that Laravel could have a Rust versionTaylor Otwell on X
19 AugOtwell says PHP is an implementation detail of LaravelTaylor Otwell on X
5 OctOtwell shares a first snippet, and the Inertia adapter repository for Rust is created the same dayTaylor Otwell on X, GitHub
12 OctOtwell says it isn’t a port and calls it spiritually similar to LaravelTaylor Otwell on X
30 Nov (NZ)26 crates go up over about four hours, finishing with the umbrella crate laravel-rust 0.1.0crates.io
The path from teaser to first release.

What was published

You add one crate, laravel-rust, and it re-exports the internal ones. crates.io lists Otwell as the account that published it, and the crate’s own description calls it a full-stack Rust web framework inspired by PHP Laravel.

Diagram of the laravel-rust crate layers from app to Axum, Tokio and SQLx
You add one crate and it pulls in the rest.

26

crates published in one sitting

1.99

minimum Rust version

43 MiB

my release binary for a small app

The feature list is wide for a 0.1.0. It covers routing, validation, CSRF protection, sessions, caching, an ORM with relations and factories, migrations, queues, durable workflows, a scheduler, events with Reverb broadcasting, mail, SMS and Slack notifications, feature flags, search, a test harness, an Artisan-style console, OpenTelemetry and hooks for Laravel Cloud. Inertia and MiniJinja are the defaults for pages.

PieceWhat it doesSource
laravel-rustThe umbrella crate you depend on. Its library name is laravelcrates.io, docs.rs
Axum, Tokio, SQLxHTTP, async runtime and database layer underneathcrate manifest
inertia-laravel-rustThe Inertia v3 server protocol for Rust, marked alpha, with an Axum adapterGitHub, inertiajs
laravel-vite-rustRenders Vite asset tags the way @vite does in BladeInertia adapter README
The pieces I could verify from public sources.

What I ran

The crate needs Rust 1.99, so I updated my toolchain first. Then I built the example app from the docs.rs page. A debug build took about a minute, and the release build about three.

The first request to the fresh app returned a 500. The server log said no application encryption key had been specified and named the command to fix it. I ran key:generate and the same request came back with a 200.

Terminal showing a Laravel for Rust first run, a 500 error naming key:generate, then 200 OK
The first run fails with a log line that names its own fix. Terminal output is shortened.

Then I wrote a small notes API against SQLite: a model, a migration, validation, a JSON endpoint and a workflow. The model and the request type look like this.

Code
#[model]
pub struct Note {
    id: i64,
    title: String,
    body: Option<String>,
    created_at: Timestamp,
    updated_at: Timestamp,
}

#[derive(serde::Deserialize, Validate)]
#[validate(anyone)]
struct NewNote {
    #[validate(required, min_length = 3, max_length = 100)]
    title: String,
    body: Option<String>,
}

The handler takes Valid(input), and a title under three characters comes back as a 422 with a JSON error body. A POST to a web route returned 419 until I sent the CSRF token from the cookie as a header. The API route group has no CSRF check, which matches how Laravel treats its API routes.

Migrations are forward-only and compiled into the binary. When I ran migrate with the app in its default production mode, it refused. Setting the environment to local let it through.

Terminal showing a Laravel for Rust SQLite notes API with JSON validation errors and three passing tests
A model, a migration and three tests, all passing. Terminal output is shortened.

The workflow test

The part I liked most is the durable workflow. I wrote one that sends a welcome message, sleeps for three days and then sends tips. In the test harness I started the workflow, confirmed it was sleeping, moved the clock forward three days, advanced it and confirmed it had completed. The whole test ran in a fraction of a second, with no real waiting.

Diagram of a Laravel for Rust durable workflow: welcome step, three day sleep, tips step
Time travel in the test harness makes a three day sleep cost nothing.

Where it differs from PHP Laravel

The names are familiar and the guarantees aren’t. There are no facades. Behaviour comes from macros and traits, so you write #[model] and #[validate] where a PHP app would extend a base class. Model columns are checked by the compiler instead of when the query runs.

The framework also asks more of you up front. A validated request type must carry either field rules or an explicit #[validate(anyone)] authorisation statement, and I hit a compile error the first time I left it out. Migrations only go forward. And you ship one binary instead of a PHP runtime and its extensions.

Comparison of PHP Laravel and Laravel for Rust on migrations, columns and shipping
The same vocabulary, with checks moved from runtime to compile time.

What Otwell says it’s for

Otwell has said it isn’t a port. Otwell describes it as spiritually similar to Laravel, built around conventions that coding agents can follow, for a world where people don’t read or write much code by hand. That fits what I saw. The strict types, the compile-time checks and the log line that names its own fix suit an agent as much as a person.

The peers and the wider move to Rust

Rust already has a Rails-style framework. Loco calls itself the one-person framework for Rust, built on Axum and SeaORM, and generates models, controllers, jobs and mailers. Laravel for Rust makes a similar bet, with Laravel’s own maker behind it.

The bigger pattern is PHP-adjacent tooling moving to Rust. Mago is a PHP linter, formatter and static analyser written in Rust. Spatie rewrote Ray in Rust, Appwrite is moving its server from PHP to Rust, and Sebastian Bergmann counted four Rust rewrites of Composer. Outside PHP, Bun, GitHub, Ubuntu and Cloudflare have made similar moves, and Anthropic ported its Messages API to Rust.

Those are tools and servers. A web framework is different, because it’s what people write their own apps in. Otwell’s release asks developers to change the language of the app itself.

What isn’t public yet

The crate’s homepage is laravel.com/rust, and its repository is listed as github.com/laravel/rust-framework. Both returned not found when I wrote this, as did the docs page under laravel.com/rust and the app skeleton repository the README links to. crates.io and docs.rs are live, and the Inertia adapter repository is public under the Inertia organisation.

That means the source I read is the published crate, not a Git history, and there’s no official getting-started guide yet. Version 0.1.0 also means the API is free to change.


What it means

Nobody’s PHP app ports to this. The crate is a new framework with Laravel’s vocabulary, so a team with a big Laravel codebase has nothing to migrate and PHP Laravel carries on beside it. What changes is where Otwell is spending the time.

For a developer, the useful question is whether the compile-time checks and the single binary are worth learning Rust for. After running it, I’d try it on a small internal service before anything customer facing. The testing story, with time travel and an in-memory database, is already better than I expected from a first release.

Check it yourself

These two commands confirm who published the crate and let you try the same first run.

Code
curl -s https://crates.io/api/v1/crates/laravel-rust/owners
cargo add laravel-rust --features database-sqlite

Sources