Laravel goes Rust: the first beta brings the PHP giant's philosophy to an 18× faster stack
by Paul

Laravel goes Rust: the first beta brings the PHP giant's philosophy to an 18× faster stack

The team behind Laravel, one of the most widely used PHP frameworks, has announced the first beta of Laravel Rust, a reimagining of the framework in idiomatic Rust. Rather than a direct port, the release brings Laravel's full-stack toolkit — routing, middleware, sessions, authentication, database models, queues, mail, workflows, and testing helpers — to a modern, high-performance foundation built entirely on the async runtime Tokio and the web framework Axum. The company says the framework was also deliberately curated for developers building with AI: every new application ships with built-in agent skills that guide coding agents in writing and testing idiomatic Laravel Rust code.

The headline claim is performance. According to internal benchmarks run on Laravel Cloud, Laravel Rust executes 18 times faster than its PHP counterpart while using significantly less CPU and memory, reductions the company says translate into lower infrastructure costs, improved tail latency, and greater capacity to absorb traffic spikes on a single instance. Rust's type system also moves error-catching earlier in the development cycle: database column names, relationships, validated form inputs, authorization checks, and secret values are all verified at compile time before code reaches production.

Beyond raw speed, the beta bundles a range of features web teams typically assemble themselves, including automatic OpenTelemetry tracing that pipes spans to observability platforms like Sentry, [Grafana], or Jaeger without manual instrumentation; OAuth social login for Google, GitHub, and Microsoft; persistent feature flags; and isolated full-stack testing where each test boots an in-memory application with a controllable clock. Frontend developers get Inertia integration with live and deferred props alongside traditional server-rendered templates with Vite asset support. The full release, spanning everything from encryption and file storage to task scheduling and package development, is documented in the complete Laravel Rust documentation.

Paul
Written by Paul
Follow
Add as a preferred source on Google
Laravel iconLaravel
  96
  • ...

Laravel is a web application framework known for its expressive and elegant syntax, designed to simplify the development process. It provides a solid foundation, allowing developers to focus on building robust applications without getting bogged down by minor details. As a software framework, Laravel is rated 3, with top alternatives including Symfony and CodeIgniter.

No comments so far, maybe you want to be first?