For years, "Laravel" has meant PHP. That is starting to change. The Laravel team has just shipped the first beta of Laravel Go: a full-stack web framework for Go with routing, middleware, sessions, authentication, database models, queues, mail, workflows and testing helpers built in. It arrived only a day after Laravel Rust was announced.
If you already live in Laravel PHP, the obvious question is whether this is just Laravel translated into Go. According to the announcement, it is not. Laravel Go is described as "Laravel reimagined in idiomatic Go" — comparable capabilities, but written the way Go code is meant to be written, rather than copying PHP or Rust syntax.
Why Is Laravel Moving Into Go (and Rust)?
Two reasons stand out in the announcement.
First, the era of coding agents. Laravel's founder starts from the view that humans will increasingly stop writing and reading application code by hand at scale. If agents write most of the code, strong guardrails, clear structure and batteries-included conventions matter more, not less. Laravel Go is positioned as a high-performance compilation target for the AI era — and every new application ships with built-in agent skills that guide coding agents in writing and testing idiomatic Laravel Go code.
Second, performance. Go and Rust were chosen because they are fast, type-safe and compiled. The announcement says Laravel Go, like Laravel Rust, delivers roughly an order-of-magnitude performance jump over Laravel PHP.
There is an ecosystem argument too: Go is one of the most widely used backend languages, yet it has never had a definitive batteries-included full-stack framework — let alone one that plugs into a modern frontend through Inertia with React or Vue, the way TypeScript developers take for granted.
Go or Rust: Which One Fits?
With both versions landing back to back, the comparison matters.
| Aspect | Laravel Go | Laravel Rust |
|---|---|---|
| Syntax | Plain Go, little "magic" | More macros and "magic" syntax |
| Peak speed | Slightly below Rust | Highest |
| Real-world throughput | Similar | Similar |
| Compile time | Very fast | Slower |
| Disk usage | Much smaller | Larger |
In short, Laravel Go trades a sliver of raw speed for a fast local feedback loop and code that is easy for both humans and agents to read. For teams that iterate a lot, that is a sensible trade.
Built on Standard Go, Not Another Framework
Laravel Go sits directly on net/http and goroutines, with no third-party web framework underneath. Each request runs in its own goroutine. While one waits on a slow query, an outbound HTTP call or a long AI API request, the runtime parks it and keeps serving thousands of other requests, background tasks and queued jobs.
For teams with existing Go code, that has practical consequences:
- The application is a plain
http.Handler, and*web.Requestembeds*http.Request, so existing Go handlers and middleware plug straight in. - State and database transactions flow explicitly through
context.Context. - Shared dependencies are wired once at startup in
services/services.go, instead of through a hidden, dynamic service container as in Laravel PHP.
Familiar Laravel Features, Now Type-Safe
These are the features most relevant to Laravel PHP developers:
- Routing and route model binding. Routes live in
routes/web.goandroutes/api.go, with groups, middleware and named routes.model.FromRoute[models.Post](r, "post")returns a 404 automatically when the record is missing. - Typed validation. A payload is a Go struct with a
Rules()method. Fields are referenced through struct pointers, so a mistyped field name fails at compile time rather than at runtime. A failed validation redirects back with errors for browsers or returns a JSON 422 for APIs. - Models without hidden N+1 queries. Generic queries such as
model.Query[models.Post]()...With("user", "comments").Get(r)return[]models.Post. Reading a relation never fires a hidden query; eager loading throughWithis mandatory. - Migrations inside the binary. Migrations are Go functions compiled together with views and seeders, so a server can run
migratewithout the source tree. PostgreSQL, MySQL, MariaDB and SQLite are supported. - Queues and durable workflows. A job is a struct with
Handle(ctx) error, behind one API for database, Redis, Amazon SQS and Laravel Cloud managed queues. Multi-day workflows (say, welcome email → wait three days → send tips) are written as a single Go method, run on the existing queue workers and resume cleanly across deploys and worker restarts. - Practical concurrency. The
taskpackage runs several functions in parallel; if one fails the rest are cancelled, and a panic is turned into an error instead of crashing the process. - Mail, broadcasting and Inertia. Typed mailables with automatic plain-text versions, a Reverb WebSocket server written in Go, and full Inertia support for React, Vue and Svelte — including live props that refresh a page when a matching event fires.
- Observability and testing. Automatic OpenTelemetry tracing for requests, queries, cache, outbound HTTP and jobs; full-stack testing with
go testagainst an in-memory application.
How to Try It
Installation goes through the new Laravel CLI:
curl -fsSL https://laravel.com/install.sh | sh
laravel new example-app --go
If you already use the older laravel CLI or Laravel Herd, check the installation guide about your PATH. The result is a compiled binary you can deploy to your own server or to Laravel Cloud.
What It Means for Teams and Business Owners
Keep in mind this is only the first beta. If your production app already runs on Laravel PHP, there is no reason to rush a migration. But a few scenarios are worth a look:
- High-load services — APIs that spend most of their time waiting on I/O or calling AI APIs can benefit from the goroutine model and the much higher performance being claimed.
- Teams already using Go — there is now a full-stack framework with Laravel conventions, so you no longer have to assemble routing, an ORM, queues and mail yourself.
- Agent-driven development — the strict structure and built-in agent skills are designed to keep AI-written code tidy and tested.
The safest move: try it on a small internal project, measure the results yourself, and follow its progress toward a stable release.
References
- Introducing Laravel Go — Laravel Blog