← ALL ARTICLES

· Laravel · Laravel Rust · Laravel Go

Laravel Rust and Laravel Go: what they mean for PHP teams

Laravel now comes in Rust and Go: two beta frameworks released on 1 and 2 December. What they include, what "18x faster" measures, and where to start.

Laravel isn't just a PHP framework any more. On 1 December 2026 Laravel released the first beta of Laravel Rust, and on 2 December it followed with Laravel Go: two new full-stack frameworks that bring Laravel's routing, models, queues, auth and Inertia to compiled, type-safe languages. At the same time, Laravel Cloud started hosting Rails, Django, Node.js, Rust and Go apps alongside PHP. If your team builds with Laravel, this is the biggest change to the ecosystem in years, so here's what was actually released, what the "18x faster" headline measures, and how I'd approach it.

What Laravel released

Both were designed from the ground up by Taylor Otwell rather than translated from the PHP code, and both are in beta. They share the same feature set and the same new laravel CLI, but each is written the way its language expects:

  • Laravel Rust is built on Axum and Tokio, so handlers are async and run on a non-blocking runtime, and the app compiles to a single binary. Models have compile-time typed columns, validation is declarative rules on structs, and it's MIT-licensed, like Laravel PHP.
  • Laravel Go is built on Go's standard net/http and goroutines, "with no third-party web framework underneath". Your app is an ordinary http.Handler, context is passed explicitly with context.Context, and shared dependencies are wired at startup rather than through a container.

Both include routing and middleware, typed validation, models and migrations, queues (database, Redis, Amazon SQS or Laravel Cloud's managed queues), durable workflows, mail, broadcasting with a Reverb-compatible WebSocket server, social login, testing helpers, and Inertia with React, Vue or Svelte. New apps also ship with instructions and skills for coding agents. The documentation is at laravel.com/rust/docs and laravel.com/go/docs.

Taylor's reasoning for the two languages: "Both are extremely fast, type-safe, compiled languages. In the AI age, why not write in very fast, type-safe, compiled languages?" Laravel's homepage puts it more directly: Rust's compiler reviews every change before it runs, "whether you wrote it or your agent did".

The same route in PHP, Rust and Go

The conventions carry over, which is the whole pitch: if you know where a Laravel route goes, you can find your way around either new framework. Here's the docs' "Hello World" route in each. First, Laravel PHP:

use Illuminate\Support\Facades\Route;

Route::get('/greeting', function () {
    return 'Hello World';
});

Laravel Rust, from the Rust routing docs, in a route file that receives a Router:

use laravel::prelude::*;

pub fn routes(route: &mut Router) {
    route.get("/greeting", async || "Hello World");
}

And Laravel Go, from the Go routing docs, in the routes package:

package routes

import (
    "go.laravel.com/config"
    "go.laravel.com/routing"
    "go.laravel.com/web"
)

func Web(route *routing.Router, cfg *config.Config) {
    route.Get("/greeting", func(r *web.Request) *web.Response {
        return web.Text("Hello World")
    })
}

The Go version is longer, but there's nothing in it a Go developer wouldn't recognise: an explicit request, an explicit response, and plain functions. That's deliberate. Laravel says Go trades "a bit of the 'magic' syntax, macros, and raw top-end speed" of the Rust version for "super fast compile times, much less disk space usage, and straightforward, simple Go syntax".

What "18x faster" actually measures

The headline number comes from Laravel's own benchmark, and it's worth reading before quoting it. Six versions of the same small app (Laravel Rust, Laravel PHP, Django, Rails, Rocket and Beego) ran on identical 4 GiB Laravel Cloud instances against MySQL, while k6 ramped traffic from 1 to 2,000 requests per second over 20 minutes. Each framework's score is its best 10-second window with no failed requests.

  • Peak throughput: Laravel Rust managed 1,774 requests per second, against 97 for Laravel PHP. That's where "18x" comes from. Rocket (1,623) and Beego (1,596) were close behind Laravel Rust; Rails managed 253 and Django 183.
  • At a steady 50 requests per second, latency was similar for all six (a median of 62ms for Laravel Rust and 78ms for Laravel PHP). The difference was the cost: peak CPU of 4.2% against 52.4%, and 16MB of memory against 134MB.
  • Builds go the other way. A cold build on Laravel Cloud took a median of 27 seconds for Laravel PHP and 3 minutes 1 second for Laravel Rust, although Rust's incremental local builds were the fastest at 1.1 seconds.
  • Waking from scale-to-zero took a median of 154ms for Laravel Rust against 712ms for Laravel PHP.

The post is upfront about the limits: the apps are deliberately simple, the dataset is tiny (200 posts), no framework reached the 2,000 requests per second target, and results for more complex apps will differ. Laravel hasn't published figures for Laravel Go yet; it only says its real-world speed and throughput are very similar to Rust's. So the fair reading is that the compiled versions handle far more traffic on the same hardware and use much less CPU and memory doing it, not that your app will be 18 times faster.

Getting started

Both use the same new Laravel CLI, installed separately from the Composer-based laravel installer. If you have Laravel Herd or the old installer as well, check that laravel --version prints "Laravel CLI". From the Go and Rust installation guides:

# Install the new Laravel CLI (macOS and Linux)
curl -fsSL https://laravel.com/install.sh | sh

# A new app: pass --rust or --go to skip the language question
laravel new example-app --go
cd example-app

# App, queue worker and Vite together, on http://127.0.0.1:8000
laravel dev

You'll need Go 1.27 or later, or Rust 1.99 or later, plus Node.js LTS for the front end, which is Inertia, React, TypeScript and Tailwind by default. PostgreSQL is the default database; MySQL and SQLite work too, and Go also supports MariaDB. Both guides carry the same warning: releases before 1.0 "may include breaking changes".

Rust or Go?

Laravel's own framing is a good starting point. Choose Rust if you want the most from the compiler: typed columns, macros, and the strictest checks on code an agent has written, at the cost of slower cold builds. Choose Go if you want fast compiles, small binaries and code any Go developer can read straight away, for "very similar real-world speed". In practice the deciding factor is more likely to be your team: whichever language someone can already debug at 2am is the right one.

What I'd do

I wouldn't rewrite a working PHP app. Laravel PHP isn't going anywhere, and Laravel Cloud still runs it next to the new frameworks. But these betas are worth trying where PHP's per-request cost really shows:

  • A busy API or webhook receiver, where the throughput and CPU numbers above turn into smaller servers.
  • Long-running work: queue workers and durable workflows, where a single compiled binary with low memory use is cheaper to run.
  • Services that scale to zero, where waking in about 150ms instead of 700ms is noticeable.

Pick one small service, build it in whichever language your team knows better, and run it next to the PHP app for a month before deciding anything. Pin the version too, because pre-1.0 betas will change underneath you.

Sources