Laravel Go at a glance
Laravel Go entered beta on December 2, 2026, one day after Laravel Rust. It is a full-stack web framework for Go with routing, middleware, sessions, authentication, database models, queues, mail, workflows and testing helpers built in. Laravel describes it as Laravel reimagined in idiomatic Go, and it says Laravel Go gives an order-of-magnitude jump in performance over Laravel PHP.
Looking for the Rust version? Read our Laravel Rust beta guide. New to Laravel itself? Start with Laravel 13 new features, improvements and what developers should know.
What is Laravel Go?
Laravel Go is built directly on Go's standard net/http package and goroutines, with no third-party web framework underneath. Every request runs in its own lightweight goroutine, so while one handler waits on a slow query or an AI API call, the runtime keeps serving other requests and queue jobs.
Your application is an http.Handler, and *web.Request embeds the standard *http.Request. That means existing Go handlers and middleware plug in. Application state and database transactions pass through context.Context, and shared dependencies are set up once at startup in services/services.go. Like Laravel Rust, every new app ships with built-in agent skills for AI coding agents.
Laravel Go vs Laravel Rust
Laravel explains why it built both. In its own comparison, Laravel Go trades a bit of the "magic" syntax, macros and raw top-end speed (by a small margin) for:
- Very similar real-world speed and throughput.
- Much faster compile times.
- Much less disk space use.
- Simple, straightforward Go syntax that suits both agents and humans.
That is Laravel's own view of the trade-off, not an independent comparison. If compile speed and simple code matter most to you, Go is the pitch. If you want compile-time type checks through macros and the highest raw speed, look at Laravel Rust.
Laravel Go features
Routing and route model binding
Routes are registered in routes/web.go and routes/api.go, with groups, middleware and named routes. Route model binding loads a record from the URL, or returns a 404 if it doesn't exist.
route.Get("/posts/{post}", posts.Show).Name("posts.show")Validation with plain structs
You describe a form as an ordinary Go struct with json tags and a Rules method. r.Validate[StorePost]() binds the request, checks the Go types and runs every rule. On failure, web.Fail(err) redirects a browser back with the errors, or returns a 422 JSON response to an API client. Fields are referenced by pointer, so a misspelled field name fails to compile.
Models and eager loading
Models are plain structs with a model tag for relationships. Queries use generic builders that return typed slices. Relationships are never loaded silently, so you load what you need with With, which avoids accidental N+1 queries.
posts, err := model.Query[models.Post]().
WhereNotNull("published_at").
With("user", "comments").
Limit(10).
Get(r)Migrations
Migrations are Go functions that compile into your application binary together with embedded views and seeders, so a deployed server can run migrate without your source tree. The schema builder supports PostgreSQL, MySQL, MariaDB and SQLite.
Concurrency and background work
The task package runs independent operations at the same time and passes the application context, authenticated user and tracing span along. If one function fails, the others are cancelled, and a panic inside a task is recovered and returned as an error instead of crashing the process. You also get task.Go, r.Background for work after the response, and repeating in-process ticks.
Queues and durable workflows
A job is a struct with a Handle(ctx) method. Tag a model field with queue:"model" and only its ID goes on the queue, then a fresh record is loaded before the job runs. Queues work across database, Redis, Amazon SQS and Laravel Cloud managed queues, with retries, middleware, chains and batches.
Durable workflows let you write a multi-day flow as one method with run.Do, run.Step and run.Sleep. They run on your existing queue workers, and a waiting workflow uses no worker resources and survives deployments.
Mail, broadcasting and Inertia
- Mail: typed mailable structs, with Resend and Amazon SES transports and a local log mailer.
- Broadcasting: events broadcast over WebSockets through a
BroadcastOnmethod, with a Reverb server written in Go included. For the PHP version, see our Laravel Reverb guide. - Inertia: React, Vue and Svelte, with deferred props, live props, prefetching, polling, flash data, history encryption and server-side rendering. Server-rendered views compiled into the binary are available too.
Also built in
- Automatic OpenTelemetry tracing.
- OAuth login for Google, GitHub and Microsoft.
- Feature flags and head metadata.
- Isolated tests with
tests.New(t)in ordinarygo testfunctions.
How to install Laravel Go
Install the new Laravel CLI, then create an app:
curl -fsSL https://laravel.com/install.sh | sh
laravel new example-app --goIf you already have an older laravel CLI or Laravel Herd, check the installation guide for PATH setup. You can deploy the compiled binary on your own server, or on Laravel Cloud, which offers managed Postgres and MySQL, Valkey caches, queues and WebSockets.
Should you use Laravel Go?
It is a first beta, so don't move a production app to it yet. A sensible plan:
- Keep your current Laravel PHP apps running.
- Build a small side project in Laravel Go to learn its conventions.
- Choose between Go and Rust based on your team: simple syntax and fast builds, or macros and top-end speed.
Laravel Go FAQ
When was Laravel Go released?
Laravel Go entered beta on December 2, 2026.
What is Laravel Go built on?
It is built on Go's standard net/http package and goroutines, with no third-party web framework.
Is Laravel Go faster than Laravel PHP?
Laravel says Laravel Go delivers an order-of-magnitude jump in performance over Laravel PHP. The announcement gives no benchmark figure for Go, so test your own workload.
What is the difference between Laravel Go and Laravel Rust?
According to Laravel, Go trades some magic syntax, macros and a small amount of top-end speed for similar real-world throughput, faster compile times, less disk use and simpler syntax.
How do I create a Laravel Go project?
Install the new Laravel CLI with curl -fsSL https://laravel.com/install.sh | sh, then run laravel new example-app --go.
Is Laravel Go production ready?
It is a beta, so test carefully and avoid moving critical apps to it for now.
Source
The details in this article come from the official Introducing Laravel Go post on the Laravel blog, published on December 2, 2026. The comparison with Laravel Rust is Laravel's own, not an independent test.





