Skip to main content

Laravel Go: Introduction and Features

Laravel Go brings Laravel's conventions to the Go language. Explore its introduction, beta status, key features, official benchmarks, and how to get started.

Laravel Go: Introduction and Features

One day after announcing Laravel Rust, Taylor Otwell introduced another member of the Laravel family: Laravel Go, a full-stack web framework that brings Laravel's conventions, structure, and developer experience to the Go programming language. The first beta was released on December 2, 2026, and the documentation is currently versioned 0.x — breaking changes may occur before version 1.0, and no stable release date has been announced yet.

Otwell's reasoning is worth noting. In his words, Laravel's conventions are "the moat," not the language itself — a framework can speak any language, so long as it speaks Laravel. Laravel Go is the second expression of that idea, following Laravel Rust, and a single Laravel account now covers all three frameworks: PHP, Rust, and Go.

What Is Laravel Go?

Laravel Go is described officially as "Laravel reimagined in idiomatic Go." It is not a port of PHP syntax. Instead, it delivers equivalent Laravel capabilities built directly on Go's standard net/http package and goroutines, with no third-party web framework underneath. The official product page puts it simply: "The same conventions, the same structure, the same docs. Different runtime, same Laravel."

Where Laravel Rust is positioned around maximum performance and safety, Laravel Go is positioned around simplicity — as the announcement puts it, Go is "the language you reach for when you want things to just work," and Laravel Go aims to be 100% idiomatic Go.

Key Features of Laravel Go

Architecture Built on Go's Standard Library

Every request runs in its own goroutine, and the application itself is an http.Handler. The *web.Request type embeds the standard *http.Request, so existing Go handlers and middleware plug in naturally. Application state and database transactions flow through context.Context, and shared dependencies are wired explicitly at startup rather than resolved through a dynamic container. A task package provides structured concurrency primitives for background work.

Routing

Routes are registered in routes/web.go and routes/api.go, using inline function literals or handler packages. Route groups, middleware, named routes, URL generation, and route model binding are all included — model binding loads the record for a route parameter or returns a 404 automatically.

Typed Validation

Validation uses typed form and JSON structs with a Rules() method. Calling r.Validate[StorePost]() binds the request data, enforces Go types, and checks the rules. Failures redirect browsers back with errors or return a 422 JSON response for APIs. Because field references are struct pointers, a misspelled field name fails at compile time instead of at runtime.

Models, ORM, and Migrations

Models are ordinary Go structs whose fields map to database columns, with relationships declared through struct tags such as belongs_to and has_many. The generic query builder returns typed results with filtering, ordering, and eager loading designed to prevent accidental N+1 queries. Migrations are Go functions compiled into the application binary, and the fluent schema builder generates SQL for PostgreSQL, MySQL, MariaDB, and SQLite.

Authentication and Social Login

Sessions and authentication are built in, including social login via OAuth for Google, GitHub, and Microsoft. Feature flags and head metadata management are also part of the framework.

Queues and Durable Workflows

Jobs are Go structs with a Handle method, behind one unified API that works across database, Redis, Amazon SQS, and Laravel Cloud managed queues — including scheduled, retried, chained, and batched jobs. On top of queues, durable workflows let you write fault-tolerant, multi-day processes as a single Go method, running on your existing queue workers with no separate orchestration service.

Mail, Notifications, and Broadcasting

Mailables are typed structs that render an HTML view with an automatically generated plain-text version, with first-party Resend and Amazon SES transports, mailer failover, and attachments. Notifications are built in, and broadcasting ships with a Reverb WebSocket server written in Go, working with Laravel Echo over the Pusher protocol.

Frontend: Inertia and Server-Side Views

Laravel Go includes full Inertia.js support for React, Vue, and Svelte — including "live props" that pair Inertia with broadcasting — as well as server-side views and templates that are compiled into the binary, with layouts, components, and Vite asset integration.

Testing and Tooling

Tests are standard go test functions that boot an isolated in-memory application with a controllable clock and exercise the full HTTP stack. A brand-new Laravel CLI provides commands such as laravel new, laravel serve, laravel migrate, laravel queue:work, and laravel reverb:start. Automatic OpenTelemetry tracing covers requests, queries, cache, HTTP calls, jobs, and commands out of the box.

Deployment as a Single Binary

A Laravel Go application compiles to a single static binary — in the product page's words, "no runtime to install, no dependencies to manage, no containers to babysit." You can deploy that binary on your own servers or push to Laravel Cloud for managed databases, caches, queues, WebSockets, and scale-to-zero compute.

Performance

Like Laravel Rust, Laravel Go is positioned as an order-of-magnitude performance step over Laravel PHP. The official product page states that benchmarks show Laravel Go handling 10×+ the throughput of Laravel PHP. In Laravel's official benchmark — which tested the same small application implemented in PHP, Rust, and Go — Laravel Go reached a best 10-second window of 1,294 requests per second, compared with 97 requests per second for Laravel PHP and 1,740 for Laravel Rust. Laravel itself cautions that the test used a small dataset designed to stress the framework rather than the database, and that it is not a comparison of idiomatic Go or Rust against idiomatic PHP — so the figures are best read as an indication of framework overhead, not a guarantee for real applications.

Getting Started with Laravel Go

Laravel Go requires Go 1.25 or later. Installation starts with the Laravel CLI:

curl -fsSL https://laravel.com/install.sh | sh
laravel new example-app --go
cd example-app
laravel serve
laravel migrate

On macOS and Windows, Laravel Herd provides the CLI and local development services; Herd does not currently support Linux, where the CLI path above applies. The full Laravel Go documentation and the installation guide are available on the official site.

Final Thoughts

Laravel Go is a beta, and it should be evaluated as one: APIs may change before 1.0, and production-critical projects are better served by the mature Laravel PHP today — just as we advised with Laravel Rust. But the direction is clear. Laravel is becoming a set of conventions and an ecosystem that spans languages, and Go — with its simplicity, fast builds, and single-binary deployment — is a natural fit for teams that want Laravel's productivity on a Go runtime. If you are exploring what Laravel Go or Laravel Rust could mean for a future project, our team can help you evaluate the options with a focused prototype or feasibility review.

Back to all articles

Ready to Transform Your Business?

Book a call or send us a message with a short description of your project. We respond to every inquiry within one business day.

Book a Discovery Call