Laravel Rust is out: what it means for PHP and Moodle

Laravel launched Laravel Rust in beta on 1 December 2026. What it includes, how fair the 18x benchmark is, what stays the same for PHP, and what Moodle teams should take from it.

Drawing of an old grey brick workshop and a new cobalt building side by side, joined by one footbridge, with the same blank sign shape on both doors.

Short answer: on 1 December 2026 Laravel released Laravel Rust, a full web framework for Rust built on Axum and Tokio, as a public beta.1 It is not a PHP-to-Rust converter and it does not replace Laravel PHP. It is a second framework with the same ideas: routing, middleware, models, queues, mail, auth, Inertia front ends, tests. Laravel says it handled 18 times the throughput of Laravel PHP in its own benchmark.2 For Moodle nothing changes directly, because Moodle does not use Laravel. But it is the second big PHP project in ten days to put serious weight on Rust, after Appwrite, and both say the same thing: AI coding agents made the switch cheap enough to try.

What did Laravel release?

Taylor Otwell, Laravel’s creator, wrote the launch post. The main points:1

  • Built on Axum and Tokio, compiled into one binary. Migrations are compiled into it too.
  • Close to Laravel PHP in features. Routing, middleware, sessions, auth (with Google, GitHub and Microsoft login), models, validation, queues, scheduled tasks, mail (Resend and SES), broadcasting, feature flags, OpenTelemetry tracing and testing helpers. Inertia works with React, Vue and Svelte. Laravel says the “small gaps” left will close in the coming weeks, but does not list them.
  • Checks at compile time. Columns, relationships and authorization are checked by the compiler. Relationships are never lazy loaded, which removes the classic N+1 query mistake by design.
  • Databases. PostgreSQL by default, with SQLite and MySQL behind feature flags.3
  • Written for agents too. It ships with “agent skills” for coding agents. Aaron Francis’s companion post says Taylor left out “legacy pieces that don’t fit Rust or AI-assisted coding”.4

To try it you need Rust 1.99 or later. The laravel new command now asks which language you want, and --rust skips the question. laravel dev runs the app, a queue worker and Vite together.3

It is a beta. The docs warn that versions before 1.0 may break APIs and configuration, and Laravel plans to call it stable after “six to eight weeks of feedback”.4 That puts 1.0 around late January 2027 at the earliest.

How fair is the 18x number?

The test is public and the method is written down, which is more than most launch benchmarks offer.2 Laravel built the same small “chirps” API in six frameworks and ran each on a 4 GiB Laravel Cloud instance with a MySQL database. k6 ramped load from 1 to 2,000 requests per second over 20 minutes. The reported figure is each framework’s best 10-second window with no failed requests.

FrameworkPeak req/sp95 latencyMemory
Laravel Rust1,774112 ms179 MB
Rocket (Rust)1,623173 ms146 MB
Beego (Go)1,596685 ms159 MB
Rails253264 ms252 MB
Django183946 ms147 MB
Laravel PHP972,634 ms481 MB

How to read it:

  • It measures throughput, not speed. At a steady 50 requests per second, both versions answer in well under a tenth of a second: a p50 of 62 ms for Rust and 78 ms for PHP. The big gap is in what each one costs to run. Rust used 4.2% CPU and 16 MB of memory, PHP 52.4% and 134 MB.2 For a small site this means a cheaper server, not a faster page.
  • 97 requests a second is low for PHP. How many PHP workers ran, and whether Octane was used, changes this number a lot. The benchmark repository shows the setup,5 and anyone who runs PHP at scale should read it before quoting the multiple.
  • It is Laravel’s test, on Laravel’s cloud. The same day, Laravel Cloud opened up to Rails, Django, Go, Node and Rust apps.4 A fast Rust option helps sell that, so treat the figure as a vendor result until someone else reproduces it.
  • Builds are slower. A cold build on Cloud took a median of 3 minutes 1 second for Rust against 27 seconds for PHP. Local rebuilds after a change were about a second.2

Is Laravel leaving PHP?

No. The Cloud post says it plainly: “If you write PHP, nothing changes,” and Laravel PHP stays fully maintained.4 Laravel PHP got new features on the same day. Laravel 13 is still the current PHP release.

The signal is somewhere else. In the same post Otwell says “we’re sort of post-programming language.” Laravel’s bet is that people will choose the framework and its habits, and an AI agent will write whichever language fits the job. Three years ago, building a second full framework in a new language would have been a multi-year project. Laravel did it, and Appwrite says moving its 29 API services from PHP to Rust is now a matter of weeks. Both teams give the same reason: agents changed the cost.

Does this matter for Moodle?

Not directly. Moodle has its own framework. When recent Moodle versions added dependency injection and routing, they took small libraries (PHP-DI and Slim) rather than adopting Laravel or Symfony. Its plugins are PHP code calling PHP APIs, and that will not change, for the reasons we gave in Will Moodle ever use Rust?

It does matter in three practical ways:

  1. The PHP talent pool shifts. Laravel is the biggest PHP community. If some Laravel developers start shipping in Rust, PHP stays a strong language with fewer people writing new things in it. Moodle, WordPress and Drupal depend on that pool. Expect PHP Foundation funding and PHP’s speed to come up more often. See who pays for PHP for the current numbers.
  2. The sidecar pattern gets easier. The heavy parts of a Moodle platform (a sync job with the student system, a report export, a document converter) can run as a small service that Moodle calls through web services. If your team already knows Laravel, that service can now be written in Laravel Rust with the same habits, deployed as one binary, with no PHP-FPM tuning. Moodle core and your plugins stay in PHP.
  3. “Agents make rewrites cheap” cuts both ways. It is true for a framework team with full tests. It is not true for a Moodle plugin with no tests, where an agent will happily rewrite code nobody can check. Appwrite recorded 43,075 cases before it switched anything. Before any rewrite, in any language, write the tests that prove the old behaviour.

If you have a slow Moodle integration or an old plugin that needs that kind of careful move, tell us what it does and we will scope it.

Sources

  1. Laravel blog, Introducing Laravel Rust, Taylor Otwell, 1 December 2026. Read 1 December 2026. ↑ ↑

  2. Laravel blog, Laravel Rust benchmark, Sam Rose, 1 December 2026. Coverage: SiliconANGLE, Laravel launches Rust framework in beta and opens Laravel Cloud to Rails, Django and Go, 1 December 2026. ↑ ↑ ↑ ↑

  3. Laravel Rust docs, Installation. ↑ ↑

  4. Laravel blog, Laravel Rust and Laravel Cloud for every framework, Aaron Francis, 1 December 2026. ↑ ↑ ↑ ↑

  5. GitHub, laravel/laravel-framework-benchmarking-2026. ↑

Need a Moodle plugin built or rescued?

Tell the scoping assistant what you need. You get a fixed price and a timeline in a few minutes, and an engineer reviews it within one business day.

Get a fixed quote