Batteries included. Idiomatic Go. Routing, models, queues, durable workflows, auth, and Inertia, all designed to work as one cohesive framework on top of Go's standard library.
Requests and pages
- Routing
Handlers, groups, middleware, and resource routes.
- Validation
Declarative rules on structs, with structured errors automatically.
- Inertia
React, Vue, or Svelte pages with full server-side rendering.
- Middleware
Laravel's built-in middleware, or any net/http middleware.
Data
- Models
Plain Go structs, relationships, and model factories.
- Migrations
One schema API for PostgreSQL, MySQL, and SQLite.
- Cache
In-memory, database, and Redis drivers behind one API.
- File storage
Local disks and S3-compatible storage behind one API.
Users
- Authentication
Login, registration, and email verification built in.
- Authorization
Expressive policies for who can access what.
- Social login
OAuth sign-in with Google, GitHub, and Microsoft.
- Notifications
Deliver over email, SMS, and Slack from a single struct.
Concurrency & jobs
- Tasks
Fan work out across goroutines and join results safely.
- Queues
Background jobs backed by your database, Redis, or Amazon SQS.
- Workflows
Durable multi-day workflows that survive deploys and restarts.
- Broadcasting
Real-time browser updates over WebSockets.
Familiar from the first file.
Routes dispatch to standard Go functions, models are plain structs, and builds finish in milliseconds. If you know Laravel, you already know your way around.
Expressive routing.
Map URLs to clean handler functions that take a request and return a response, with route groups and middleware built in.
Routing docsModels as plain Go structs.
Query your database with Laravel's fluent builder using Go generics, and pass results straight to an Inertia page.
Models docs
Modern React and Vue frontends, without building an API.
Laravel Go ships with Inertia built in. Render React, Vue, or Svelte pages straight from your Go handlers, keeping routing, auth, and data loading on the server while delivering a full single-page app in the browser.
One monolith, zero API boilerplate.
Return a page component and its props directly from a Go handler. No REST endpoints to maintain, no GraphQL schemas, and no client-side state sync.
Rendering pagesProps arrive straight in React.
No fetch calls, loading boilerplate, or manual JSON parsing. Your React, Vue, or Svelte page component receives typed props directly from your handler.
Explore InertiaDeferred and lazy props out of the box.
Render the page immediately and load slower queries in the background with inertia.Defer, or fetch heavy sections on demand with lazy and optional props.
Deferred props
A goroutine for every request.
Every request runs in its own lightweight goroutine, so slow queries never block neighboring traffic. Fan independent work out across goroutines with task.Run and your context, user, and trace travel along automatically.
Fan out, then join.
Run independent queries concurrently with task.Both and wait for them to finish. Panics are recovered and returned as regular errors.
Tasks docsRespond now, finish later.
Push lightweight post-response work onto r.Background with a detached context and automatic panic recovery.
Tasks docs
First-class queues and durable workflows.
Offload heavy jobs to your database, Redis, or Amazon SQS, or write multi-day durable workflows as a single Go method that survives sleeps, deploys, and restarts.
Jobs as plain Go structs.
Dispatch a job and return immediately. Configure retries, backoff, and timeouts, and inspect any failed jobs out of the box.
Queues docsDurable workflows that survive deploys.
Every step executes once and checkpoints its result. Sleep for hours or days without holding memory, and resume right where you left off.
Workflows docs
Real-time updates over WebSockets.
Broadcast server events straight to the browser over Reverb, or wire them into Inertia live props so pages refresh automatically whenever underlying data changes, with zero manual WebSocket plumbing.
Broadcast events on any channel.
Implement BroadcastOn on any event struct to publish on public, private, or presence channels. Laravel handles channel authorization and Reverb delivery over your queue.
Broadcasting docsLive props that refresh themselves.
Attach a broadcast event to an Inertia prop with inertia.Live. Whenever that event fires, connected browsers automatically refresh just that prop over WebSockets.
Live props docs
Authentication, policies, and full-stack tests.
Session auth, email verification, and social login for Google, GitHub, and Microsoft ship out of the box, paired with type-safe authorization policies and full-stack tests powered by go test.
Type-safe authorization policies.
Write plain Go policy functions verified at compile time. Call auth.Authorize in your handler and unauthorized requests return a 403 automatically.
Authorization docsFull-stack testing with go test.
Send requests through your real routes, middleware, and policies without booting a server, backed by a fresh database per test.
Testing docs
Built for coding agents.
Every new Laravel Go app ships with project instructions, focused framework skills, and version-matched Markdown docs bundled right in the module. Paired with Go's compiler and fast test suite, agents build robust, idiomatic apps from day one.
Instructions, skills, and bundled docs.
Every new app includes AGENTS.md, CLAUDE.md, and focused skills under .agents/skills/ covering models, authorization, validation, queues, Inertia, and testing.
The go.laravel.com module also bundles the exact Markdown documentation for your go.mod version, so coding agents read the real guides on disk instead of guessing.
Agent workflow docsLaravel Go FAQ.
Start building with Laravel Go.
Create a new project with one command and serve your first route in minutes.