Laravel Rust drops with 18x PHP throughput
Taylor Otwell launches an MIT-licensed, full-stack Rust web framework built on Axum and Tokio that brings Laravel's routing, compile-time typed models, durable workflows, and Inertia integration to compiled binaries. Built in two months with AI coding agents, every new project ships with built-in agent skills and leans on Rust's strict compiler to catch agent-generated bugs before deployment.
AI coding agents are upending the classic trade-off between developer ergonomics and runtime performance: if agents write the boilerplate, dynamic languages lose their biggest edge over strict compiled stacks. Taylor Otwell is making a bold defensive bet—recasting Laravel as a language-agnostic philosophy with compiler guardrails rather than letting PHP's runtime ceiling lock the ecosystem out of ambitious greenfield apps.
- –Real throughput gains, with benchmark caveats: Laravel Cloud k6 tests clocked Laravel Rust at 1,774 RPS versus 97 RPS for Laravel PHP (edging out Rocket at 1,623 RPS and Beego at 1,596 RPS), though the workload tested simple reads against a 200-row MySQL table that stresses framework overhead more than complex database bottlenecks and omits Rust's slower cold build times.
- –Compiler-as-guardrail for AI agents: Compile-time verified SQL columns, type-checked route macros, mandatory authorization rules on input structs, and secret-redacting password types give coding agents like Amp—a top contributor on the `laravel/rust-framework` repo—a tight feedback loop before code ever reaches production.
- –Batteries included from day one: Unlike typical Rust web stacks that require assembling Axum, an ORM, queues, and auth piecemeal, Laravel Rust debuts near parity with Laravel PHP, bundling durable multi-day workflows, a Rust-native Reverb WebSocket server, Inertia live props, and automatic OpenTelemetry tracing.
- –Ecosystem parity and cloud lock-in: Rebuilding core APIs in two months with cloud agents proves how fast frameworks can be ported now, yet replicating PHP's 15-year third-party package ecosystem will take far longer; simultaneously expanding Laravel Cloud to host Rust, Go, Python, and Ruby turns the multi-language pivot into a clear commercial moat.
- –Loud signal for PHP shops: Otwell emphasizes Laravel PHP is not entering maintenance mode and is shipping a new Agent Kit this week, but his accompanying community letter bluntly acknowledges the shift by asking how many ambitious 2027 projects will still start on PHP.
DISCOVERED
1h ago
2026-12-02
PUBLISHED
1h ago
2026-12-02
RELEVANCE
AUTHOR
Better Stack