GoLaravel
New v1.17.2 released · Nov 17, 2026

Laravel's ergonomics, compiled to Go.

GoLaravel is a full-stack web framework: a zero-allocation router, Templ views, the Ent ORM, queues, scheduling, auth, mail and realtime, driven by an Artisan CLI. Serve HTML, Inertia.js or a Flutter app from one binary.

go install github.com/golaravel/golaravel/cmd/artisan@latest

Open source · Go 1.26

Batteries included, nothing reflected

Zero-allocation routing

A radix-tree router with pooled request contexts: static routes match in about 9 ns, deep parameters in 28 ns, with no heap allocations.

Ent ORM and Atlas

Schemas as Go code, type-safe queries and graph traversal without reflection, plus declarative migrations, factories and seeders.

Templ views

Blade-style components compiled to Go: 0 allocations per render, about 25 times faster than html/template.

Flutter, Inertia or HTML

Pick a front end per project: a Flutter app for web, mobile and desktop, React or Vue through Inertia.js, or server-rendered Templ.

Auth and security

Session and JWT guards, Argon2id hashing, gates and policies, two-factor codes, OAuth sign-in, CSRF and rate limiting.

Queues and scheduling

In-memory or Redis workers with retries and a dead-letter queue, a worker dashboard, and a cron scheduler with overlap locks.

Mail and notifications

Mailables with Templ views and a preview studio, and notifications sent by mail, database, broadcast or your own channels.

Realtime and i18n

WebSocket and server-sent event broadcasting, plus translations and locale handling for every screen.

Artisan CLI

artisan new scaffolds a project; make: commands write schemas, controllers, jobs, policies and views; serve, queue:work and schedule:work run it.

From zero to a running app

Install the CLI, create a project, and add your first routes.

Follow the quickstart
  1. 1Install Artisan

    go install github.com/golaravel/golaravel/cmd/artisan@latest
  2. 2Create a project

    artisan new my-app   # pick Templ, Inertia, Flutter or Hybrid
    cd my-app
    artisan generate
    artisan serve        # http://localhost:8080
  3. 3Add routes

    app := golaravel.Default()
    
    app.GET("/api/ping", func(c *golaravel.Context) error {
        return c.JSON(200, map[string]string{"status": "ok"})
    })
    
    app.GET("/posts/{slug}", func(c *golaravel.Context) error {
        return c.String(200, "Post: %s", c.Param("slug"))
    })
    
    app.Run(":8080")

One backend, your choice of front end

Templ

Server-rendered HTML from compiled components, for public pages, invoices and anything that should load with no JavaScript.

Inertia.js

React or Vue pages fed straight from your controllers, with no separate API to build.

Flutter

One Flutter client for web, Android, iOS and desktop, served by the same binary; or Hybrid, with Templ for the public pages.

What's new in v1.17.2

  • TOTP clock-drift tolerance was off by default

Build your next app in Go.