Your team writes Go. The next service needs sessions, authentication, migrations, queues, mail, WebSockets, and a React frontend. Do you assemble a dozen libraries and write the glue yourself, or does someone hand you a framework that already did it?
Taylor Otwell's answer arrived on December 2, 2026, one day after Laravel Rust. Laravel Go is in beta, and its pitch is narrower than the name suggests. It doesn't try to copy PHP's syntax or Rust's. In Laravel's words, it's Laravel reimagined in idiomatic Go.
What Laravel Go is
A full-stack web framework for Go with routing, middleware, sessions, authentication, database models, queues, mail, durable workflows, and testing helpers built in. It's MIT licensed. The framework core lives in laravel/go-framework on GitHub and ships as the Go module go.laravel.com.
The design choice that matters most: it's built directly on the standard library's net/http and goroutines, with no third-party web framework underneath. Taylor's post spells out what follows from that:
- Your application is an
http.Handler. *web.Requestembeds the standard*http.Request, so existing Go handlers and middleware plug in.- Application state and database transactions travel through
context.Context. - Shared dependencies are wired once at startup in
services/services.goand read withservices.From(ctx), instead of living behind a dynamic container.
Every request runs in its own goroutine. When a handler waits on a slow query, an outgoing HTTP call, or a long AI API request, Go's runtime parks that goroutine and keeps serving everything else on the same threads.
Laravel's stated reason for building it: Go is one of the most widely deployed backend languages, and in Taylor's view it never had a definitive batteries-included, full-stack framework that pairs cleanly with React or Vue through Inertia. That's his claim, not a measured fact, but it explains the target.
Every new app also ships with AGENTS.md, CLAUDE.md, and focused skills under .agents/skills/ for coding agents, plus Markdown docs for the exact version in your go.mod.
How to Install Laravel Go
Requirements, from the installation docs: Go 1.27 or later, Node.js (the LTS release), and Git.
# Laravel CLI, macOS and Linux
curl -fsSL https://laravel.com/install.sh | sh
laravel --version
laravel new example-app --go
cd example-app
laravel migrate
laravel dev
On Windows, the CLI installs from PowerShell with powershell -ExecutionPolicy Bypass -c "irm https://laravel.com/install.ps1 | iex". laravel new downloads the app, creates .env, installs frontend dependencies, and compiles it. New apps come configured with Inertia, React, TypeScript, Tailwind, and Vite Plus.
laravel dev starts the app, a queue worker, and Vite together. Visit http://127.0.0.1:8000. When you change a .go file or .env, the app rebuilds and restarts, and the browser refreshes once the server is back.
The default database is PostgreSQL, a local database named laravel. The docs recommend developing against the same database you'll run in production. To use SQLite, MySQL, or MariaDB instead, replace postgres.Driver in the Drivers list in bootstrap/app.go, swap the import for go.laravel.com/db/sqlite or go.laravel.com/db/mysql, then run go mod tidy, because a new app's go.sum only lists the PostgreSQL driver's dependencies.
If laravel doesn't behave, check the path first. Laravel Herd and the older Composer-based installer also provide a laravel command. The output of laravel --version should start with Laravel CLI. If it doesn't, run which -a laravel and move the line the installer added, which points at ~/.laravel/bin, below the Herd or Composer entries in your shell profile.
For production, build the assets and compile one binary:
npm run build
go build -o app .
./app
Migrations are Go functions compiled into that binary, along with embedded views and seeders, so a deployed server can run migrate without your source tree (though high-volume tables still require non-blocking DDL discipline—see Splitting a 400GB Production Table Without Locking Writes). The app answers health checks at /up. Before you deploy, set APP_ENV to production and APP_DEBUG to false, because debug mode shows error messages and panic stack traces to anyone.
Laravel Go Code Examples: Routing, Models, and Validation
The excerpts below come from the framework's landing page. Routes live in routes/web.go and routes/api.go, and larger endpoints move into handler packages. Handlers take a request and return a response:
func Index(r *web.Request) *web.Response {
posts, err := model.Query[models.Post]().
Where("votes", ">", 100).
Get(r)
if err != nil {
return web.Fail(err)
}
// ...
Route model binding loads the record from the URI, or responds with a 404:
func Show(r *web.Request) *web.Response {
post, err := model.FromRoute[models.Post](r, "post")
if err != nil {
return web.Fail(err)
}
// ...
Authorization policies are plain Go functions, verified at compile time:
func UpdatePost(post *Post) auth.Ability[User] {
return func(user *User) error {
return auth.Allow(user.ID == post.UserID)
}
}
Notice what's missing: macros. Models in this framework are ordinary Go structs where each field maps to a column, and relationships are declared with a model struct tag. Query builders are generic and return typed slices such as []models.Post.
Validation follows the same plain style. You describe the payload as a struct with json tags and a Rules method. r.Validate[StorePost]() binds the request into the struct, enforces each field's Go type, and checks every rule. A failure redirects browsers back with the errors or returns a 422 to API clients. Because rules reference fields by struct pointer (&f.Title), a misspelled field name fails to compile instead of slipping through to runtime.
The part PHP developers will notice first
Eloquent lazy-loads relationships. Laravel Go doesn't. Reading a relationship field never runs a hidden query. You load what a page needs up front with With, which prevents accidental N+1 queries by design. Column and relationship names are also checked when you build the query, and a typo panics during tests with a list of the valid names.
That is a deliberate trade. You write one more call, and an entire class of production slowdowns can't happen by accident. It's the clearest sign that this framework isn't Laravel PHP with a new syntax. It borrows the conventions and changes the rules where the language makes a better rule possible.
Concurrency, queues, and workflows
When a handler needs several independent results, such as dashboard counts or calls to multiple APIs, the task package runs them concurrently and carries your context, authenticated user, and tracing span along. If one function fails, Laravel cancels the others so in-flight queries stop early, and a panic inside a task comes back as an error instead of crashing the process. task.Go launches a single goroutine, r.Background runs work after the response returns and finishes during graceful shutdown, and in-process ticks run repeating work.
Queued jobs are structs with a Handle(ctx context.Context) error method:
type ProcessPodcast struct {
ID int64
}
func (j ProcessPodcast) Handle(ctx context.Context) error {
podcast, err := model.Find[models.Podcast](ctx, j.ID)
// ...
Tag a model field queue:"model" and only its ID goes onto the queue, with a fresh record loaded before Handle runs. Queues share one API across the database, Redis, Amazon SQS, and Laravel Cloud's managed queues, with retries, job middleware, chains, and batches (if you mix heavy media tasks into shared worker pools, see Running Post-Upload Media Jobs Without Queue Starvation).
Durable workflows are the newer idea. A multi-day flow becomes one Go method:
func (o OnboardUser) Handle(run *workflow.Run) error {
err := run.Do("send welcome", o.sendWelcome)
if err != nil {
return err
}
if err := run.Sleep(72 * time.Hour); err != nil {
// ...
Each step runs once and its result is saved. While a workflow sleeps or waits on a webhook, it consumes no worker. It resumes across deploys and restarts, and it runs on your existing queue workers with no separate orchestration service.
Everything else in the box
Mail uses typed mailable structs, with first-party Resend and Amazon SES transports and failover. Broadcasting includes a Reverb WebSocket server written in Go, started locally with laravel reverb:start, and Inertia live props can refresh a page when a broadcast event fires. Inertia supports React, Vue, and Svelte, with deferred props and server-side rendering. If you'd rather render HTML on the server, views use Go's html/template.
Incoming requests, database queries, cache lookups, outgoing HTTP calls, queued jobs, and console commands record OpenTelemetry spans automatically. Point .env at an OTLP endpoint and traces reach Sentry, Grafana, or Jaeger. Social login covers Google, GitHub, and Microsoft. Tests use ordinary go test functions with tests.New(t), which boots an isolated in-memory app, cache, and controllable clock without starting a server.
Laravel Go vs. Laravel Rust: Performance and Syntax
Taylor explains the second framework this way: Rust and Go both came to mind as fast, type-safe, compiled languages. Compared with Laravel Rust, Laravel Go gives up some of the "magic" syntax, macros, and a little top-end speed (barely, he says) for very similar real-world throughput, much faster compile times, less disk space, and simpler syntax.
The numbers behind the Rust side, including the 1,774 vs 97 requests per second result and the build times, are broken down in the Laravel Rust introduction.
| Laravel Rust | Laravel Go | |
|---|---|---|
| Foundation | Axum and Tokio | net/http and goroutines |
| Minimum toolchain | Rust 1.99 | Go 1.27 |
| Style | Macros and attributes | Plain Go, no macros |
| Speed claim | 1,774 RPS vs 97 for Laravel PHP, in Laravel's benchmark | "Order-of-magnitude" over PHP, no numbers published |
| Compile time | Median 3m 1s cold on Cloud | "Super fast" per Laravel, no numbers published |
Laravel's launch post and landing page give no Go benchmark numbers, so treat "similar to Rust" as Laravel's claim until numbers appear. One related data point: Laravel's own Rust benchmark table included Beego, an unrelated Go framework, at 1,596 requests per second against Laravel Rust's 1,774. That isn't Laravel Go, but it shows where a Go framework can land on that test.
Where this leaves PHP
Taylor's letter says Laravel PHP is not going anywhere and is not entering maintenance mode, and that both frameworks are developed in parallel. Laravel 13, released March 17, 2026, runs on PHP 8.3 to 8.5 with bug fixes through Q3 2027 and security fixes through March 17, 2028. Nothing in the Go launch changes that.
Beta means beta
The docs say plainly that releases before 1.0 may include breaking changes to APIs and configuration. Laravel's launch materials give no stable-release date for Laravel Go, so don't plan around one. Also check where you install from. At least one unofficial project on GitHub is called laravel-go and describes itself as an independent implementation. The official packages are go.laravel.com and the laravel/go-framework repository, with the app skeleton in laravel/go.
| Your situation | Call | Why |
|---|---|---|
| Existing Laravel PHP app in production | Stay on PHP | Laravel 13 is supported through March 2028 |
| Go team that wants a full-stack framework | Try it now on a side project | It's built on net/http, so existing handlers and middleware plug in |
| PHP developer curious about compiled backends | Start with Go before Rust | Laravel says Go has simpler syntax and faster compiles, though that's its own claim |
| Project that needs a stable API this quarter | Wait | It's a beta, and no stable date is announced |
Before you commit
- Is Go 1.27 or later installed, and is
laravel --versionprintingLaravel CLI? - Does your team want plain structs and explicit
Withcalls instead of lazy loading? - Are you installing from
go.laravel.com, not a similarly named repository? - What is your plan for a breaking change before 1.0?
- Have you measured your own heaviest endpoint, since no Go benchmark exists yet?
- Do you deploy as one binary on your own servers or on Laravel Cloud, and is that decision made?
Frequently Asked Questions
Is Laravel Go replacing Laravel PHP?
No. Taylor Otwell confirmed that Laravel PHP is not going anywhere and is not entering maintenance mode. Both frameworks are developed in parallel, and under the official Laravel release policy, Laravel 13 remains supported with bug fixes through Q3 2027 and security fixes through March 17, 2028.
How does Laravel Go differ from Laravel Rust?
Laravel Go is built directly on Go's standard net/http package and goroutines rather than third-party crates like Axum and Tokio. Compared to Laravel Rust, it avoids macros and attribute magic in favor of plain Go structs, offers simpler syntax, and delivers faster compile times while requiring Go 1.27 or later.
Is Laravel Go ready for production apps?
Not yet for mission-critical systems. As noted in the official Laravel Go launch post, the framework entered public beta on December 2, 2026, and pre-1.0 releases in the laravel/go-framework repository may introduce breaking changes to APIs and configuration. With no announced stable release date or official benchmarks yet, it is currently best suited for side projects and internal experimentation.