Skip to content

Checking your reading list…

Retry

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Reader activity
0 Useful 2 Views 3 min Read — No ratings
Backend Development
3 min read

Laravel Rebuilt in Rust: 18x Throughput, Compile-Time Safety for AI-Era Development

Laravel launches Laravel Rust beta, a full-stack framework on Tokio and Axum delivering 18x higher throughput than Laravel PHP at the cost of 6x slower compile times, featuring compile-time validation, built-in ORM/auth/queue, Inertia.js integration, and local documentation for AI-assisted development.

Laravel has released the first public beta of Laravel Rust , a full-stack framework licensed under MIT and built directly on Tokio and Axum. It bundles routing, ORM, queue, authentication, sessions, and more into a single independent binary.

Taylor Otwell's Open Letter: Language as Implementation Detail

Founder Taylor Otwell published an open letter admitting he hasn't hand-written code in a year, relying heavily on AI agents. He argues that if developers stop writing and reading code, the traditional advantage of dynamic languages — quick writing, low barrier — diminishes. In an AI-driven workflow, strong type systems and strict compilers become the most reliable guardrails, catching low-level errors before deployment. Laravel PHP will continue weekly releases; an open-source Agent Kit and Converse were also shipped to integrate AI agents into Slack, Telegram, and GitHub.

Performance: 18x Throughput, 6x Slower Compilation

Official benchmarks on Laravel Cloud (identical instance specs, 20-minute ramp test) show:

Peak throughput: Laravel Rust 1,774 req/s vs Laravel PHP 97 req/s ( 18x faster )

Steady 50 req/s load: CPU usage ~4% (Rust) vs 52% (PHP)

Cold build time: 27 seconds (PHP) vs ~3 minutes median (Rust) — 6x longer due to compile-time type, column, and query checks.

Laravel Rust vs Laravel PHP official performance comparison
Laravel Rust vs Laravel PHP official performance comparison

Architecture: Batteries-Included for AI-Assisted Development

Laravel Rust packages eight core modules (routing, ORM, queue, auth, sessions, etc.) eliminating the crate-assembly overhead typical of raw Axum/Actix projects. Input handling uses structs with attributes that enforce validation and authorization at compile time:

#[laravel::input(fills = Post)]
#[validate(authenticated)]
pub struct StorePost {
    #[validate(required, max_length(255))]
    title: String,
}

Database column names, table relationships, and SQL parameters inside db::query! are also verified by the compiler. A dedicated password type prevents accidental logging or serialization.

First-Class AI Agent Support

New projects ship with AGENTS.md, CLAUDE.md, .agents/skills/, and version-pinned Markdown documentation matching the exact Cargo.lock dependencies. Tools like Claude Code and Codex read these local files to generate accurate code without relying on stale training data.

Laravel Rust built-in Agent Skills and local versioned documentation structure
Laravel Rust built-in Agent Skills and local versioned documentation structure

Frontend Integration via Inertia.js

Laravel Rust natively includes Inertia.js with TypeScript, Tailwind CSS, and Vite pre-configured. The Rust backend passes strongly-typed props directly to React, Vue, or Svelte components, removing the need for a separate REST or GraphQL layer.

Laravel Cloud Expands to Polyglot Hosting

Simultaneously, Laravel Cloud added support for Express, NestJS, Hono, Next.js, Rails, Django, and Go. A new Cloud MCP lets Claude Code or Codex inspect build logs, debug, and redeploy directly.

The framework remains in public beta; the team plans 6–8 weeks of feedback before a stable release. Full documentation and benchmarks are available at the official site.

Reference: Laravel Rust website: https://laravel.com/rust

For attribution, corrections or content rights, contactadmin@besthub.dev

Report an issue with this article

Discussion 0

Write a comment

Sign in to join the discussion

No public comments on this page. Sign in to comment