Run Laravel for Go locally
Pick Laravel (Go) in New project, choose a database, and EnvKit installs Go, Node.js, the Laravel CLI and the database, builds the app and serves it at https://name.test. No C compiler needed. On Windows, macOS and Linux.
Free, no account. Laravel for Go support needs EnvKit 1.0.4 or newer (latest: v1.0.6); EnvKit updates itself.
What Laravel for Go is
Laravel for Go (Laravel calls it Laravel Go) is a full-stack web framework for Go from the Laravel team. Taylor Otwell announced the first beta on December 2, 2026, a day after Laravel for Rust. It has routing, middleware, sessions, authentication, models, queues, mail and testing helpers, with Inertia and React for the front end. An app is created with the Laravel CLI: laravel new <name> --go, and a release build is one binary.
To run one on your machine you need Go 1.27 or newer, Node.js, Git, the Laravel CLI and a database, plus the right driver in bootstrap/app.go and a .env that points at it. EnvKit does all of it from one dialog, then serves the app at a trusted https://<name>.test address. Go needs no C compiler, so there is no Visual Studio or build tools step, on Windows or anywhere else.
One click, four steps
- Open New projectIn EnvKit, go to Sites → New project and pick Laravel (Go). It has a Beta badge.
- Name it, pick a databaseType a name and choose PostgreSQL (the default), MySQL / MariaDB or SQLite. SQLite is a file in the project and its driver is pure Go.
- EnvKit sets it upA checklist installs what’s missing (Go, Node.js, Git, the Laravel CLI, the database server), runs laravel new --go, sets the driver, writes .env, builds and migrates. If a step fails, it says which one and rolls back the folder, site and database.
- Open your applaravel dev runs as the site’s process on a free port, and the app is live at https://<name>.test. Edit a .go file and the server restarts.
Go 1.27+ your Go if new enough, else EnvKit's Go runtime
Node.js, Git, Laravel CLI 0.4.0
Database PostgreSQL / MySQL / MariaDB / SQLite, database created
laravel new shop --go
bootstrap/app.go database driver set, go mod tidy
.env APP_URL=https://shop.test, DATABASE_URL for EnvKit's server
go build the first build downloads the Go modules
migrate --force
laravel dev https://shop.testThe first build downloads the Go modules and compiles the app, which can take a minute or two. Later builds take seconds. When it’s done the dialog shows the Go version the app runs on and how long laravel new and the build took.
After it’s created
- Site page. The site has a Laravel (Go) section with Prepare, Migrate, Route list (Method, URI and Handler, with a filter and Copy), Build release and the dev log.
- Build release. Runs npm run build, then go build -o app .. The result is one binary: app, or app.exe on Windows.
- Terminal. The site’s terminal has Go, the Laravel CLI and Git on the PATH, so laravel migrate and laravel route:list work there. There is no PHP in the app, so no Tinker and no Composer step.
- Existing apps. Add existing project or Clone from Git detects a Laravel for Go app from its go.mod. If it isn’t ready to run, Prepare installs what’s missing, fills in .env, creates the database on EnvKit’s server, builds and starts laravel dev. Migrations only run when you tick them.
- Deploy. Deploy to Evorxa takes a Laravel for Go app to an Ubuntu or Debian server: it builds the front end and the binary there, writes a production .env, migrates and runs the app as a systemd service behind nginx with SSL and the /up health check.
Requirements and limits
- EnvKit 1.0.4 or newer on Windows 10/11 x64, macOS (Apple Silicon) or Linux x86_64.
- Go 1.27 or newer. Your own Go if it is new enough; otherwise EnvKit installs its Go runtime into its data folder and leaves your system Go alone.
- Laravel CLI 0.4.0. EnvKit installs it and replaces an older copy it finds. Node.js and Git are installed the same way when they are missing.
FAQ
- Do I need to install Go first?
- No. Laravel for Go needs Go 1.27 or newer. If the Go on your machine is new enough, EnvKit uses it. If not, EnvKit installs its own Go runtime into its data folder and leaves your system Go alone. Node.js, Git and the Laravel CLI are installed the same way.
- Do I need a C compiler or Visual Studio on Windows?
- No. Unlike Laravel for Rust, Laravel for Go needs no C compiler, and its SQLite driver is pure Go. There is no build tools step on any OS.
- Which databases can a Laravel for Go app use in EnvKit?
- PostgreSQL (the default), MySQL / MariaDB or SQLite. EnvKit installs and starts the database server, creates the database, sets the matching driver in bootstrap/app.go (with go mod tidy when it changes) and writes DATABASE_URL into .env. SQLite is a single file in the project and needs no server.
- How long does the first build take?
- The first build downloads the Go modules and compiles the app, which can take a minute or two. Later builds take seconds.
- How does the app run while I work on it?
- Through laravel dev, as the site’s dev process: the web server, a queue worker and Vite. EnvKit sets SERVER_HOST and SERVER_PORT on that process and puts it behind https://<name>.test with a trusted certificate. The server restarts when a .go file changes.
- Do laravel migrate and laravel route:list work in the terminal?
- Yes. The site’s terminal has Go, the Laravel CLI and Git on the PATH. EnvKit installs Laravel CLI 0.4.0, which runs app commands on Windows too (the “the application has no binary” bug in 0.3.0 is fixed in that version).
- Does mail from a Laravel for Go app show up in Mailpit?
- Not yet. Laravel for Go sends mail through Resend, SES or the log and has no SMTP mailer, so Mailpit can’t catch it. In development the mail goes to the log.
- Can I open a Laravel for Go app I already have?
- Yes. Add it with Sites → Add existing project or Clone from Git. EnvKit detects it from go.mod (it requires go.laravel.com) and opens the site page. If the app isn’t ready to run, Prepare installs what is missing, fills in .env, creates the database on EnvKit’s server, builds the app and starts laravel dev.
- How do I build it for production?
- Site → Laravel (Go) → Build release runs npm run build and then go build -o app . The result is one binary: app, or app.exe on Windows. Deploy to Evorxa also supports Laravel for Go apps on an Ubuntu or Debian server, with a systemd service behind nginx.
- Is EnvKit free?
- Yes. EnvKit is free for personal and commercial use, with no account and no card. Laravel for Go support is part of EnvKit 1.0.4 and newer.
Try it
Free, no account. Laravel for Go support needs EnvKit 1.0.4 or newer (latest: v1.0.6); EnvKit updates itself.
More detail is in the EnvKit docs: Laravel for Go (beta) and the walkthrough on the blog. For the framework itself, read Laravel’s announcement and the Laravel Go docs.
Last updated December 2026.