General

Laravel Rust vs Loco: A Practical Comparison

Diagram titled Laravel Rust vs Loco showing both frameworks resting on a shared Axum and Tokio foundation

On 1 December 2026, Laravel announced a beta of Laravel Rust, a full-stack web framework written in Rust. Loco, a framework that calls itself "Rust on Rails," shipped release 1.4.0 the day before.

In our reading, both aim at the same developer: someone who likes the speed of working in a convention-driven framework and wants Rust's type safety and small deployments.

This post compares them on what's documented today. We haven't built an app with either one, so every claim here comes from official pages, package registries or named third-party write-ups. Where something is unverified, we say so.

Key Takeaways
  • Laravel Rust is a first-party beta that mirrors Laravel's workflow and ships durable workflows, Inertia and a typed query layer. Per Laravel News, the docs warn that APIs may change before 1.0.
  • Loco is older and already on 1.x: 1.0.0 landed on 29 July 2026 and 1.4.0 followed on 30 November 2026. It pairs Axum with SeaORM.
  • Both sit on Axum, so the underlying HTTP stack is similar. The differences are in conventions, data layer, frontend story and maturity.
  • Laravel's "18x" figure is a vendor benchmark of peak throughput. Median latency was 62 ms against 78 ms, a much smaller gap.
  • Pick Laravel Rust to follow Laravel conventions and accept beta risk. Pick Loco for a framework already on 1.x. Stay on PHP when the bottleneck isn't the runtime.

Why Are PHP Developers Looking at Rust Frameworks Now?

Laravel now offers a Rust version of the framework, which changes the conversation for PHP teams.

In our view, many Rust web frameworks have been closer to toolkits than to full-stack frameworks. You often assembled a router, an ORM, a queue and an auth layer yourself. Laravel Rust and Loco both reverse that. They bundle the pieces and use generators and conventions to cut setup work.

For teams that already work with PHP, the draw is practical. Rust compiles to a single binary and catches whole classes of errors at build time. Laravel's own benchmark, covered below, also shows lower memory use. The cost is a steeper learning curve and a smaller ecosystem than PHP's.

What Is Laravel Rust?

Laravel's own page describes Laravel Rust as a "full-stack, batteries-included web framework written from the ground up in Rust" (Laravel, retrieved 2 December 2026). Laravel News reported the launch on 1 December 2026 and says the framework is currently in beta.

The installation docs, as quoted by Laravel News, warn that "releases before 1.0 may change APIs and configuration." Treat that as the key adoption fact.

Here's what the landing page lists:

  • License: MIT, per the landing page.
  • HTTP foundation: Axum and Tokio, per Laravel News.
  • Data: PostgreSQL, MySQL and SQLite behind one model and migration API. Models use compile-time typed columns, relationships and scopes.
  • Auth: login, registration and email verification, policies for authorization, and social login with Google, GitHub and Microsoft.
  • Queues: database, Redis or Amazon SQS backends, with retries set through attributes such as #[job(tries = 3)].
  • Durable workflows: multi-day processes that checkpoint each step and survive deploys and restarts.
  • Frontend: Inertia with React, Vue or Svelte, including server-side rendering, plus built-in templates using Jinja syntax.
  • Realtime: broadcasting over Reverb and .live() props.
  • Extras: cache, file storage (local and S3-compatible), scheduling, validation and parallel full-stack tests.

New projects start with the Laravel installer:

laravel new example-app --rust
cd example-app
laravel migrate
laravel dev

According to Laravel News, laravel dev starts the app, a queue worker and the frontend dev server. The same article lists Rust 1.99 or later, Node.js and Git as requirements, and says new apps use React, TypeScript, Tailwind and Vite Plus.

What we couldn't confirm about Laravel Rust

Three of the docs pages (installation, workflows and development) were not retrievable when we researched this post. We therefore can't state the crate version, the repository location, or whether Blade, Eloquent or Livewire have Rust equivalents. The landing page doesn't mention them either. Check the docs before planning a migration.

What Is Loco?

Loco is an open-source Rust framework that describes itself as strongly inspired by Rails. InfoQ covered its announcement in February 2024, and its first release, 0.1.0, dates to 23 November 2023 according to docs.rs.

The recent history matters more for a decision. Docs.rs lists 1.0.0 on 29 July 2026, followed by 1.0.1, 1.1.0, 1.2.0, 1.3.0, 1.3.1 and 1.4.0 on 30 November 2026. That's seven releases in about four months on the 1.x line.

The GitHub repository shows an Apache-2.0 license and roughly 9.7k stars. Its README lists these building blocks:

  • Controllers on Axum, which the README says it uses "for the best performance, simplicity, and extensibility."
  • ORM integration. The 1.4.0 dependency list on docs.rs includes SeaORM 2.0 and sea-orm-migration.
  • Views. The same list shows the Tera template engine.
  • Background jobs with a Redis-backed queue or threads, plus a scheduler, mailers (built on the lettre crate), storage (via OpenDAL) and a cache layer.
  • Generators for models, controllers, scaffolds and workers.

Getting started looks like this, per the README:

cargo install loco
cargo install sea-orm-cli   # only when a database is needed
loco new
cargo loco start

The loco new wizard asks for an app name, what you want to build (for example, a SaaS app with client-side rendering), a database provider and a background worker type. The server then listens on port 5150.

What we couldn't confirm about Loco

The official tour and first-app docs pages returned 404 during our research. Details on the CLI, scaffolding and deployment therefore come from a third-party OpenReplay guide dated 6 November 2026 and covering release 1.2.0. We also couldn't verify Loco's testing guidance or which queue backends are enabled by default.

Laravel Rust and Loco Compared Side by Side

Both frameworks pick Axum for HTTP, so their request handling should feel familiar to anyone who has used Axum. Most differences sit above that layer.

Area

Laravel Rust

Loco

Status

Beta, announced 1 Dec 2026

On 1.x since 29 Jul 2026, latest 1.4.0 (30 Nov 2026)

License

MIT (per Laravel's landing page)

Apache-2.0 (per GitHub)

HTTP base

Axum and Tokio

Axum

Data layer

First-party typed models, queries and scopes

SeaORM 2.0 and sea-orm-migration

Databases

PostgreSQL, MySQL, SQLite

SQLite in the README wizard, Postgres via config per OpenReplay

Templates

Jinja-syntax views

Tera

Frontend

Inertia with React, Vue or Svelte, SSR

Client-side rendering starter, plus server-side views

Queues

Database, Redis, Amazon SQS

Redis-backed queue or threads per the README; other backends unverified

Durable workflows

Built in

None found in the sources we read

Auth

Built in, with policies and social login

JWT-based per OpenReplay, scaffolds expect a token by default

Realtime

Reverb broadcasting, live props

Not documented in the sources we read

CLI

laravel new --rust, laravel dev, laravel migrate

loco new, cargo loco start, cargo loco generate

Deployment

Any Linux server, or Laravel Cloud

Single binary plus config folder, with Docker and nginx generators (both per OpenReplay)

AI tooling

AGENTS.md, CLAUDE.md and skills in new apps (per the landing page)

Not documented in the sources we read

Read the "not documented" cells carefully. They mean we didn't find the feature in the pages we read, not that it doesn't exist.

Philosophy: Whose Conventions You Inherit

In our view, Laravel borrowed heavily from Rails, so Laravel Rust and Loco share an ancestor. The difference is whose conventions you inherit.

Laravel Rust carries Laravel's conventions. The CLI, the Inertia-first frontend, queues, policies and workflows follow what Laravel PHP developers already know. The data layer is first-party, so models, relationships and scopes come from one team and one release cycle.

Loco carries Rails conventions and uses existing Rust crates. It composes SeaORM, Tera, lettre and OpenDAL behind a consistent generator-driven workflow. That keeps Loco small and lets you drop down to those crates directly. It also means the data layer evolves on SeaORM's schedule, not Loco's.

Neither approach is better in general. A first-party stack gives you one set of docs and one upgrade path. A composed stack gives you more independent maintainers and more escape hatches.

What PHP Developers Will Notice in Daily Work

This section is our reading of the documented APIs, not hands-on experience.

Typed queries change how you debug

Laravel Rust's landing page shows a query written as Post::query().filter(Post::votes.gt(100)). Laravel News adds that comparing a column to an incompatible type "causes a build failure before the query runs."

In PHP, a comparison like that can fail at runtime unless static analysis catches it first. In Rust, it fails at compile time. That's a real gain, and it's one reason teams look at Rust.

The compiler becomes part of your workflow

Rust asks you to think about ownership and lifetimes. Compile times grow with project size. Laravel News notes that new Laravel Rust apps use shared Cargo build caches and reduced debug info for dependencies, which suggests the team is working on that friction.

The OpenReplay guide is blunt about the learning curve: Loco is a poor choice as a first backend if you're learning web servers and Rust at the same time. We agree. Learn Rust basics before judging either framework.

Deployment gets simpler

Loco's deployment path, per OpenReplay, is cargo build --release, then copying the binary and the config/ folder to a server that doesn't need a Rust toolchain. Laravel says its apps run "anywhere a Linux server runs," and that Laravel Cloud builds and runs them with autoscaling and scale-to-zero.

Compared with a PHP stack of PHP-FPM, extensions and a web server, a single binary is, in our view, usually simpler to ship.

AI-assisted development is a stated goal

Per Laravel's landing page, new Laravel Rust projects include AGENTS.md, CLAUDE.md and skills under .agents/skills/, and the crate bundles Markdown docs matched to the version in Cargo.lock. That's a notable choice. Compiler errors can give coding agents tight feedback, and versioned docs can reduce guesswork. We haven't tested how well that works in practice.

The "18x" Benchmark: What It Measures

Laravel published benchmark results on its Rust landing page. They compare Laravel Rust with Laravel PHP on Laravel Cloud, without naming the application or the PHP version.

Metric

Laravel Rust

Laravel PHP

Method

Peak throughput

1,774 req/s

97 req/s

Busiest 10-second window, zero failed requests, 20-minute ramp

Median latency

62 ms

78 ms

Steady 50 req/s

Memory

16 MB

134 MB

Steady 50 req/s

Wake from scale-to-zero

154 ms

712 ms

Median across nine regions

Source: Laravel Rust landing page, retrieved 2 December 2026. This is a vendor benchmark, and we haven't reproduced it.

Read it with three points in mind.

  1. The 18x label is Laravel's own, for peak throughput under a ramp test. At a steady 50 requests per second, median latency was 62 ms against 78 ms. For many applications at moderate load, that gap is small.
  2. Memory and cold starts show clearer gains. 16 MB against 134 MB, and 154 ms against 712 ms, matter for scale-to-zero hosting, where the first request after an idle period pays the wake-up time.
  3. The landing page doesn't disclose the workload. In many applications, database queries, external APIs and rendering account for much of the response time. A framework swap doesn't change those.

Other published PHP numbers show how much the setup matters. Sevalla, a hosting vendor, ran its own Laravel 12 test and reported roughly 425 to 445 requests per second across PHP 8.2 to 8.5, using 15 concurrent requests and 1,000 requests per run. It's a different test setup, so the numbers aren't comparable with Laravel's.

We don't see a reason to dismiss Laravel's results. We also wouldn't make an architecture decision from them. Benchmark your own workload.

Loco has no comparable first-party benchmark in the sources we read, so we can't put a number on it here.

Which One Fits Your Team

Start from your constraints, not from the benchmark.

Choose Laravel Rust if:

  • Your team already thinks in Laravel and wants the same conventions in Rust.
  • You value durable workflows, Inertia and a first-party typed data layer.
  • You can accept a beta with possible API changes, for example on an internal tool or a prototype.

Choose Loco if:

  • You want a framework that's already on 1.x and releasing regularly.
  • You prefer building on SeaORM and other established Rust crates.
  • Your team is comfortable with Rails-style conventions, or is learning them.

Choose neither yet if:

  • You're still learning Rust. Start with plain Axum and a small project.
  • Your bottleneck is the database, an external API or an unoptimised page. Fix that first.
  • Your application relies on PHP-only packages. Laravel Rust is a ground-up Rust framework, so you shouldn't expect PHP packages to carry over.

Stay on PHP if:

  • Your system works and meets its performance goals. A rewrite carries cost and risk that a benchmark doesn't capture.
  • Your team's depth is in PHP, and hiring for Rust would slow delivery.

Modern PHP isn't standing still either. Caching, queue tuning and application servers may narrow the gap for your workload, so we'd measure before moving. The Drupal CMS vs Payload CMS comparison on this site applies the same requirements-first approach to platform choices.

What Does This Mean for Drupal and Symfony Teams?

Many Drupal developers already know patterns these frameworks use: routing, dependency injection, events and services.

That makes the concepts transferable, even though the code isn't. A Drupal developer who reads a Loco controller or a Laravel Rust handler will recognise the shape.

Our view, offered as opinion and not as a recommendation to rebuild anything: neither framework replaces a content platform. Drupal's editorial workflows, permissions, multilingual support and content modelling aren't things you'd rebuild in a general web framework.

Where Rust could help alongside Drupal:

  • Companion services such as webhook receivers, import pipelines or search indexers that sit behind Drupal's APIs.
  • High-throughput endpoints where an isolated service can scale independently of the CMS, a pattern we cover in when a headless CMS makes sense.
  • Internal tools that need compile-time guarantees and a small footprint.

These are assumptions to test on your own architecture. Start with a business need, and add a new runtime only when the existing one can't meet it. Our guide to Drupal 7 to 11: migrate or rebuild applies the same principle: understand the existing architecture before recommending a rebuild.

Frequently Asked Questions

Is Laravel Rust ready for production?

It's in beta, and Laravel News, quoting the installation docs, says releases before 1.0 may change APIs and configuration. Use it for production only if you can absorb breaking changes. For internal tools and prototypes, the risk is easier to accept.

Is Loco production ready?

Loco has been on 1.x since 29 July 2026 and has shipped regular releases since. That's a stronger maturity signal than a beta, though version numbers alone don't prove production readiness. We haven't audited it, so review security, testing and maintenance fit for your own project.

Can I reuse my Laravel PHP code in Laravel Rust?

Not directly. Laravel describes the framework as written from the ground up in Rust. The ideas and conventions carry over, but you shouldn't expect PHP code or PHP packages to run on it. We couldn't confirm whether Blade views have a Rust equivalent.

Do I need to learn Rust before using either framework?

Plan on it. Both frameworks reduce boilerplate, but you still work with Rust's ownership rules, traits and async model. Spend time on the language first.

Why do both frameworks use Axum?

The Loco README says it uses Axum "for the best performance, simplicity, and extensibility." Laravel's reasons aren't stated in the sources we read. Either way, the shared base means the differences sit in the layers above HTTP.

Conclusion: Where to Start

Laravel Rust and Loco answer the same question differently. Laravel Rust offers a first-party, Laravel-flavoured stack in beta. Loco offers a Rails-flavoured framework, already on 1.x, built from established Rust crates.

If you're evaluating them, a good next step is small: build the same minimal feature in both, such as a CRUD resource with a background job, and compare setup time, error messages and deployment. That will usually tell you more than a vendor benchmark.

If you're weighing Rust against your current PHP or Drupal stack and want a second opinion on where it fits, get in touch with The Higglers. We'll start from your requirements, not a framework preference.

Sources

Related articles