Laravel Go, the first beta of Laravel for Go, is out, a day after Laravel Rust. I built an app from its skeleton, had five models and a no-skills control build a notes app in it, ran a durable workflow through a worker restart, and benchmarked it against Laravel Rust and Laravel PHP on the same machine.
I covered the Rust launch in my guide to Laravel Rust. This is the same treatment for Go: what’s in the beta, what I built, what the numbers say next to Rust and PHP, and what it costs you.
- What launched
- Why Go next to Rust
- What I set up
- Five models and a control
- The benchmarks
- Durable workflows
- Inertia and the frontend
- The framework’s own tests
- What it costs you
- What I’d do
What launched
Laravel Go is a full-stack framework for Go with routing, middleware, sessions, authentication, database models, queues, mail, workflows and testing helpers built in. It’s MIT licensed and works with PostgreSQL, MySQL, MariaDB and SQLite. The skeleton asks for Go 1.27. Every new app ships with agent skills and an AGENTS.md that tell a coding agent how to write and test idiomatic Laravel Go.
It’s built directly on Go’s standard net/http package and goroutines, with no third-party web framework underneath. Every request runs in its own goroutine, *web.Request embeds the standard *http.Request, and shared dependencies are wired once at startup in services/services.go instead of sitting behind a dynamic container.
7
agent skills in a new app
4
databases supported
36 s
for a cold build of the app
Why Go next to Rust
Taylor Otwell says he built both in parallel from a single mono-repo workspace, and that Rust and Go were the two languages that came to mind. His pitch for Go is that it gives up a little against Rust and keeps most of the result.
Compared to Laravel Rust, it trades a bit of the “magic” syntax, macros, and raw top-end speed (barely!) for very similar real-world speed and throughput, while giving you super fast compile times, much less disk space usage, and straightforward, simple Go syntax that’s great for agents and humans.
Taylor Otwell, Introducing Laravel for Go
He also says Laravel Go doesn’t copy Laravel Rust’s syntax or Laravel PHP’s, and that it’s “100% idiomatic Go”. The practical difference shows up in the code below. Rust declares validation with macros on a struct. Go uses an ordinary struct with a Rules method, and misspelled field names fail to compile because rules reference the field pointer, not a string.
What I set up
I started from the official skeleton repository, copied the environment file, generated an application key, installed the frontend dependencies, pointed it at PostgreSQL 16 and ran the migrations with the Laravel CLI, which was version 0.4.0. I couldn’t use laravel new --go in my cloud container because its proxy blocked the skeleton download, so I copied the skeleton from the repository. These are the commands.
cp .env.example .env
laravel key:generate
npm ci
laravel migrate --force
laravel route:list
go test ./...

The skeleton carries seven skills under .agents/skills: auth-and-authorization, database-and-models, inertia-frontend, queues-and-workflows, testing-laravel-go-apps, validation-and-input and writing-laravel-go-apps. The framework module, go.laravel.com, also bundles version-matched Markdown docs, so an agent reads the docs for the exact version the app uses straight from the module cache.
Five models and a control
The skills are the part of Laravel Go I most wanted to test. I ran opencode 1.19.6 on Kimi K3.1 Pro, DeepSeek V4.1 Flash, Claude Opus 5.5, GPT-6.2 Sol and Gemini 4 Neon. Each started from a fresh copy of the skeleton on its own PostgreSQL database and got three prompts in one session, one after the other. These are the prompts, word for word.
Add a notes resource to this app: a Note model with a title and a body, a migration, a JSON API at /api/notes with index and store, validation (title required, 3 to 100 characters), and feature tests. Follow the conventions in AGENTS.md. Run go test ./... and make sure everything passes.
Add an Inertia React page at /notes that lists the notes and has a form to add a new one. Follow the project's existing conventions. Make sure npm run build and go test ./... both pass.
When a note is created, queue a job that counts the words in its body and saves the result in a word_count column on the note. Add the migration and a test for the job. Follow the project conventions and make sure go test ./... passes.
I also ran a control: DeepSeek V4.1 Flash on a copy of the skeleton with AGENTS.md, CLAUDE.md and the whole .agents folder deleted, so it had only the code and the docs bundled in the module.
All six finished all three prompts. In every final app go vet, go test, npm run build and the TypeScript check pass. After I ran the migrations, the API returns 201 for a valid note and 422 for a title of two characters, the /notes page lists a note added through its form, and a queue worker processes the word-count job and saves 7 for my test note. The five models with the skeleton’s files all loaded at least one of the bundled skills before they wrote code. The control loaded none and read the framework docs instead.
| Model | Test functions in the app | go test | npm run build | 422 on a short title | Form adds a note | Job saves word count |
|---|---|---|---|---|---|---|
| Kimi K3.1 Pro | 10 | Pass | Pass | Yes | Yes | Yes |
| DeepSeek V4.1 Flash | 10 | Pass | Pass | Yes | Yes | Yes |
| Claude Opus 5.5 | 15 | Pass | Pass | Yes | Yes | Yes |
| GPT-6.2 Sol | 11 | Pass | Pass | Yes | Yes | Yes |
| Gemini 4 Neon | 10 | Pass | Pass | Yes | Yes | Yes |
| DeepSeek V4.1 Flash, no skills | 7 | Pass | Pass | Yes | Yes | Yes |
The control is the useful result. The skills didn’t decide whether the task could be done, because a model with only the code and the bundled docs finished it too. What differed was the work around it. The control wrote the fewest tests, seven against 10 to 15, and had no AGENTS.md to follow. Opus wrote the most tests, and it was the only one to leave word_count nullable where the other five made it a non-null column that defaults to 0.
GPT-6.2 Sol’s form struct and action for the notes API show the shape the models settled on: the validation lives on the type, and the handler only runs once the input is valid.
type StoreNote struct {
Title string `json:"title"`
Body string `json:"body"`
}
func (f *StoreNote) Rules() validation.Rules {
return validation.For(f,
rule.Field(&f.Title, rule.Required, rule.Between(3, 100)),
)
}
func CreateNote(ctx context.Context, form StoreNote) (models.Note, error) {
note := models.Note{Title: form.Title, Body: form.Body}
if err := model.Create(ctx, ¬e); err != nil {
return models.Note{}, fmt.Errorf("create note: %w", err)
}
if _, err := queue.Dispatch(ctx, jobs.CountNoteWords{NoteID: note.ID}); err != nil {
return models.Note{}, fmt.Errorf("queue word count for note %d: %w", note.ID, err)
}
return note, nil
}

Each model chose its own layout because I didn’t prompt for design, so these screenshots aren’t a quality ranking. Each one shows the page after I added a note through its form.






The benchmarks
Laravel hasn’t published a benchmark for Go. The launch post says Laravel Go delivers an order-of-magnitude jump over Laravel PHP, and Otwell says it gives up a little top-end speed to Rust. I ran all three on the same machine to see how big each gap is.
The machine and the method
Everything ran on one cloud VM: four vCPUs (Intel Xeon at 2.3 GHz, under KVM), 16 GB of memory and a 252 GB disk, running Ubuntu 24.04. The database, the apps and the load generator all shared it. Both compiled apps were release builds of their skeletons, Laravel Go 0.1.0 and Laravel Rust 0.1.4. The PHP app was Laravel 13.45.0 on PHP 8.3.6 in production mode with config, route and view caches, OPcache with the JIT on, nginx in front and PHP-FPM running eight static workers. All three used PostgreSQL 16.15.
Each app served four routes: /api/version, which returns a line of JSON, /api/count, which runs a count query on the users table, /api/users, which returns 20 users, and /api/users/42, which returns one user through route model binding. The users table held the same rows for all three. I warmed each app up, then ran autocannon 9.0.0 flat out for 15 seconds at 16, 64 and 128 connections, three times each, and the table shows the median. No run had a failed request.
| Route and connections | Laravel Go (req/s) | Laravel Rust (req/s) | Laravel PHP (req/s) | Go vs PHP | Go vs Rust |
|---|---|---|---|---|---|
| JSON, 16 | 44,586 | 50,589 | 1,610 | 28x | 88% |
| JSON, 64 | 49,802 | 62,880 | 1,637 | 30x | 79% |
| JSON, 128 | 52,224 | 65,539 | 1,647 | 32x | 80% |
| Count, 16 | 15,672 | 20,948 | 375 | 42x | 75% |
| Count, 64 | 18,175 | 21,832 | 347 | 52x | 83% |
| Count, 128 | 24,386 | 22,408 | 351 | 69x | 109% |
| 20 users, 16 | 8,946 | 15,020 | 308 | 29x | 60% |
| 20 users, 64 | 10,922 | 16,874 | 293 | 37x | 65% |
| 20 users, 128 | 11,597 | 20,027 | 298 | 39x | 58% |
| One user, 16 | 13,780 | 17,486 | 332 | 42x | 79% |
| One user, 64 | 16,793 | 18,513 | 324 | 52x | 91% |
| One user, 128 | 19,991 | 21,624 | 301 | 66x | 92% |


Go ran 28x to 69x faster than Laravel PHP, and Rust ran 31x to 72x faster. On the JSON and single-user routes Go kept 79 to 92 percent of Rust’s throughput. The 20-user list route is where Rust pulls furthest ahead, with Go at 58 to 65 percent. On the count route at 128 connections Go came out ahead, 24,386 requests a second against 22,408, though the three Rust runs ranged from 19,930 to 23,262 and Go’s lowest was 22,309, so I wouldn’t read that as a win.

Tail latency at 64 connections follows the same pattern. The median p99 on the count route was 5 ms for Rust, 12 ms for Go and 248 ms for PHP. On the JSON route it was 2 ms, 7 ms and 51 ms.
These numbers use PostgreSQL, so don’t compare them with the SQLite and MySQL figures in my Laravel Rust guide. That piece measured Rust against PHP on different databases, and its Rust app was an earlier release.
Memory, build time and size
Memory is where Go sits lowest. The Go server used about 34 MB idle and 59 MB after the load runs on the count route. The Rust server used 47 MB idle and 73 MB after. The PHP-FPM pool, with its eight workers, used about 100 MB idle and 321 MB after.

Otwell’s claim about compile times and disk space holds in my measurements. A cold release build of the Go app took 36 seconds with the modules already downloaded, and the Rust skeleton took 4 minutes 37 seconds on the same four vCPUs. After I edited one handler, the Go rebuild took 1.8 seconds and the Rust release rebuild took 12 seconds. The Go binary was 52 MB (36 MB stripped) and the Rust one was 74 MB (50 MB stripped). Go’s build cache held 472 MB, and Rust’s build directory came to 1.3 GB.

Durable workflows
Workflows are the feature I wanted to see run. They let you write a multi-day flow as one Go method. Laravel runs each step once, saves its result and suspends the run while it sleeps, and the whole thing runs on your existing queue workers. I wrote the onboarding example from the docs, with the sleep shortened to 20 seconds.
type OnboardUser struct {
UserID int64 `json:"user_id"`
SleepSeconds int `json:"sleep_seconds"`
}
func (o OnboardUser) Handle(run *workflow.Run) error {
if err := run.Do("send welcome", o.welcome); err != nil {
return err
}
sleep := 3 * 24 * time.Hour
if o.SleepSeconds > 0 {
sleep = time.Duration(o.SleepSeconds) * time.Second
}
if err := run.Sleep(sleep); err != nil {
return err
}
return run.Do("send tips", o.tips)
}
I started the run with a database queue and one worker. The worker ran the welcome step, and I stopped it during the sleep. I started a second worker, which is a new process, and it ran the tips step once the 20 seconds were up. The welcome step didn’t run again. workflow:show reports the run as completed with the sleep at 22 seconds.

workflow:show prints it.
You don’t have to wait for the real clock in tests. The workflow test helper moves time forward, and this test passes in a fraction of a second.
run := workflowtest.Start(client, workflows.OnboardUser{UserID: 1})
run.AssertStepRan("send welcome").AssertSleeping()
client.Travel(3 * 24 * time.Hour)
run.Advance().AssertStepRan("send tips").AssertCompleted()
Inertia and the frontend
Laravel Go includes full Inertia support for React, Vue and Svelte, with deferred props, live props, prefetching, polling, flash data, history encryption and server-side rendering. The skeleton uses React with Vite. Live props pair Inertia with event broadcasting, so a page refreshes when a matching event fires, and a deferred prop takes any function shaped like func(context.Context) (T, error), so you can hand it a query’s Get method.
The broadcasting side runs on a Reverb WebSocket server written in Go and bundled with the framework, which Otwell mentions in his thread. Apps that prefer server-rendered HTML get views and templates compiled into the binary. The six notes pages above are all Inertia React pages the models built in the second prompt.
The framework’s own tests
I also ran the framework’s own Go test suite from the repository. I ran it with no DATABASE_URL set and with sqlite3 installed. 67 packages passed. The root package failed six OpenTelemetry tracing tests, such as one that expects a span named schedule:run and finds none, and the Reverb package hit my 10-minute limit. I haven’t investigated either, so I can’t say whether the cause is the beta or my environment.
What it costs you
Go costs less than Rust on every build measure I took, and it’s still a new framework. Your team needs Go 1.27, no package from the PHP ecosystem comes across, and it’s a beta. Otwell says Laravel Go and Laravel Rust have full feature parity, and Laravel Cloud’s runtimes page lists Go, which I covered in my piece on Cloud running Rails, Django, Go and Rust apps.
The speed gap to PHP is large and consistent in my test. How much of it survives your app is something only your app can tell you. My routes were deliberately small, and a real app spends its time in queries, templates and third-party calls.
What I’d do
Leave your Laravel PHP app where it is, because Otwell says it isn’t going anywhere. For a new service, I’d try Go before Rust. It kept most of Rust’s throughput in my test, cut the cold build from 4.6 minutes to 36 seconds, uses less memory and disk, and every model I tried built working apps in it, including one with none of the skeleton’s agent files. Pick Rust if your hot path returns lists, because that’s where the gap was widest. If you’re coming from PHP and want the smallest jump, Go’s plain syntax is the shorter one.
Check it yourself
These commands run the generated tests and repeat the load runs against any app on the same port.
go test ./...
autocannon -c 64 -d 15 http://localhost:8000/api/version
autocannon -c 64 -d 15 http://localhost:8000/api/count
autocannon -c 64 -d 15 http://localhost:8000/api/users
Sources
- Introducing Laravel for Go, Laravel blog
- Laravel Go documentation
- laravel/go, GitHub
- Taylor Otwell on Laravel for Go
- Taylor Otwell on feature parity
- Laravel on X
Disclosure: I’m an OpenAI, Firecrawl and Devin ambassador.




