Tilly The Coder
Tilly The Coder
Laravel Go: A First Look at the Full-Stack Go Framework
Tilly The Coder

Laravel Go: A First Look at the Full-Stack Go Framework

Tilly The Coder
6 mins
This is the estimated time it takes to read the article.

2 December 2026 · Tilly the Coder

Yesterday’s Laravel launch had me looking at Rust. Today there’s a second rabbit hole: Laravel Go, a first-party, full-stack web framework for Go. The starter app, framework source and installation docs are all public. The docs call it beta and warn that releases before 1.0 can break APIs and configuration. That makes this a good time to build something small and a bad time to promise your team a production migration by Friday.

Laravel Go and Go on Laravel Cloud are separate things

The Go item in Laravel’s 1 December launch post was about hosting Go apps. Laravel Cloud can detect Go projects and suggest build and start commands. You can run an existing Go API alongside a Laravel PHP app without adopting a new framework. The announcement also makes an important distinction for background jobs: Go services can use worker clusters, but Go was not listed among the frameworks supported by Cloud’s managed queues in that announcement. Go on Laravel Cloud is the page to look at for hosting.

The project in the Laravel GitHub organisation is different. Laravel Go gives you the application conventions and libraries themselves: routing, request validation, sessions, database tools, background jobs, durable workflows and Inertia. Both the starter and the core framework are MIT-licensed. There’s also Goravel, an independent Laravel-inspired framework that already had a 1.18 release in July 2026. Credit where it’s due: Go developers could build with Laravel-style conventions well before this week.

What feels familiar if you write Laravel PHP?

Start by opening the application skeleton. There are directories for routes, jobs, models, listeners, migrations and tests. I like that you can open a new project and make a decent guess about where something belongs. If you’ve spent years showing people around a Laravel app, that familiarity matters more than matching every method name.

Underneath that structure, the framework is built on Go’s net/http. The application implements http.Handler, and the docs explain how to use handlers and middleware from the wider Go ecosystem. The validation docs show request data modelled as Go structs, with rules attached to fields. The ORM docs use model.Query[models.Post]() to start a query typed to a model. You can still chain filters and sort results, but fetching a row means handling a returned error. If you’re coming from Eloquent, the shape will feel familiar and the error handling will still feel like Go.

If you already like building Laravel and Vue apps together, the Inertia integration is worth a look. The docs cover React, Vue and Svelte. For a small admin tool, you can keep the URL, validation and data loading on the Go side and still build the screen with components. You don’t have to create and maintain a separate JSON API simply to render the settings page. I’d try porting one Inertia screen before volunteering the whole admin panel.

One JSON endpoint, two ways

Here’s a tiny contract you can compare without setting up a database: GET /api/export-status returns {"status":"rendering","progress":42}. This is hard-coded so the example is about the response, not about how to run an export.

In Laravel PHP, add this to routes/api.php with the standard API prefix and Illuminate\Support\Facades\Route imported:

Route::get('/export-status', fn () => response()->json([
    'status' => 'rendering',
    'progress' => 42,
]));

In Laravel Go, register the handler in your starter’s API routes. This is the equivalent route in routes/api.go. If that file already has an API function, add the route.Get call to it instead of declaring it twice.

package routes

import (
    "go.laravel.com/config"
    "go.laravel.com/routing"
    "go.laravel.com/web"
)

func API(route *routing.Router, _ *config.Config) {
    route.Get("/export-status", func(_ *web.Request) *web.Response {
        return web.JSON(map[string]any{
            "status": "rendering",
            "progress": 42,
        })
    })
}

Both use a small key-value payload. Go’s *web.Response makes the handler’s HTTP return type explicit. For a bigger response you can pass a struct with JSON tags to web.JSON instead, so types and field names are visible in one place. Go routing guide

Durable workflows are the bit I’d try first

A queue job is enough when you want to do one thing later. It gets more awkward when you need to do several things, wait for something outside your app, then pick up where you left off. Imagine a video export: create an export record, submit the render, wait for the render service to report back, then notify the user. You want to see what happened if the worker restarts halfway through, without guessing whether the render was already submitted.

Laravel Go’s workflow docs explain that the workflow handler runs from the top each time it advances. Completed steps return their stored results, and the worker runs the next unfinished step. A sleeping or waiting workflow suspends instead of keeping a worker occupied. It uses the queue workers you already run, with a connection that supports delayed jobs. I’d still make calls to an external render service idempotent, meaning a repeated request for the same export should not start a second render. That’s exactly the sort of behaviour I’d want to prove on a throwaway project.

How I’d try it this week

The installation guide asks for Go 1.27 or later, Node.js, Git and the current Laravel CLI. Once those are installed, the documented starting point is:

laravel new export-lab --go
cd export-lab
laravel dev

The dev command starts the app, a queue worker and the frontend dev tooling. The same guide covers building the production application with go build after building the frontend assets. If you enable Inertia server-side rendering, the docs also show a separate Node process, so keep that in mind if you’re aiming for a single-process deployment. I’d start with an SQLite-backed app, one form, one background job and one test for a failed job or a repeated callback.

Would I rewrite a healthy Laravel PHP app for this? No. I’d keep the PHP app where its packages and conventions are already earning their keep, and try Go on a project small enough to throw away. I also wouldn’t borrow a benchmark from Laravel Rust and assume it applies to Go. For this demo, I’d measure how much code it takes to get from a form submission to a reliable background result, then see what happens when I deliberately stop the worker mid-run. That would tell me far more about whether I want to use it than another benchmark of a route that says hello.