With the arrival of Laravel Go, a team already working with Laravel can, for the first time, switch languages without switching mental frameworks: same conventions, same pieces (routing, models, queues, Inertia), but compiled to a Go binary. Is it worth it?
The core difference
Laravel PHP | Laravel Go | |
|---|---|---|
Language | PHP 8.x, interpreted | Go 1.27+, compiled |
Runtime | PHP-FPM, Apache, or Octane with FrankenPHP | A single binary on |
Status | Stable (Laravel 13) | Beta, may break APIs before 1.0 |
License | MIT | MIT |
Concurrency | One process per request (or workers with Octane) | Native goroutines |
Style | Facades, container, lots of "magic" | Explicit: |
Ecosystem | Huge: thousands of packages, Filament, Nova, Livewire | Brand new; relies on standard Go libraries |
Performance: what we know and what we don't
Laravel says Laravel Go delivers "an order-of-magnitude jump" over Laravel PHP and that its real-world speed is very close to Laravel Rust. It has not published Go numbers: its benchmark only includes Laravel Rust and Laravel PHP.
What we do know about the PHP side, in that same benchmark (Laravel 13 with Octane on FrankenPHP, PHP 8.5, 1 vCPU and 4 GiB):
- 97 requests per second in its best window, against 1,774 for Laravel Rust and 1,596 for Beego, another Go framework (not Laravel Go).
- At 50 requests per second, latency is close to the compiled frameworks (78 ms median), but it uses 52% CPU and 134 MB of RAM, against 5% and 18 MB for Beego.
- Waking from sleep takes a median of 712 ms, against 154 ms for Beego.
If Laravel Go behaves like Beego or Laravel Rust, the real advantage isn't so much that each page loads faster, but that the same server handles far more traffic, or the same traffic fits on a cheaper server. Details in our comparison of all three.
When to choose Laravel Go
- High-traffic APIs or services where server cost is a significant budget line.
- Concurrent work: integrations calling many APIs at once, webhooks, background processing.
- Simple deployment: one binary, no PHP runtime, extensions or
composer installon the server. - Teams who already know Go and wanted Laravel's conventions.
- Compared to Rust, Go compiles in seconds and is easier to learn: it's usually the pragmatic choice.
When to stay on Laravel PHP
- Company websites, stores and CMSs: the bottleneck is rarely the framework, but queries, caching and images.
- You depend on the ecosystem: Filament, Nova, Livewire, Cashier, Scout or hundreds of packages that don't exist in Go.
- Your team is a PHP team and has no time to relearn a language with a different way of thinking (strict types, explicit errors, no facades).
- Shared hosting or infrastructure that only supports PHP.
- You need stability today: Laravel Go is in beta.
A middle path
You don't have to rewrite everything. Laravel Cloud lets you run a PHP app and a compiled app in the same organization, sharing a database. The sensible move is to keep the core in PHP and move only the part that really struggles to Go: a public API, a queue consumer, a notification service.
Verdict
For most business projects, Laravel PHP is still the best value for money. Laravel Go makes sense when traffic, concurrency or infrastructure cost is already a measurable problem, and it's a friendlier alternative than Laravel Rust for teams who don't want to fight the compiler.
References
- Introducing Laravel Go (laravel.com)
- Laravel Rust: 18× the throughput of Laravel PHP and its repository
Not sure whether your Laravel system needs a new language or just good optimization? At Codegea we measure before rewriting. Get in touch and we'll review your case.
Written by
Derian Pinto
Founder & Full Stack Developer
Founder of Codegea. Builds custom websites, stores and platforms, and integrates and supports Arc XP for media companies.