Skip to content

EnvKit 1.0.4: Laravel for Go (beta), Laravel CLI 0.4.0 and a round of fixes

EnvKit 1.0.4 adds New project → Laravel (Go), installs the Laravel CLI 0.4.0 that fixes laravel migrate on Windows, and fixes database names with a dash.

EnvKit5 min read
On this page

EnvKit 1.0.4 came out on 3 December 2026, one day after 1.0.3. The main change is a second new Laravel flavour: Laravel for Go, in beta. The release also moves EnvKit to the Laravel CLI 0.4.0, which removes the Windows workaround Laravel for Rust needed, and fixes a dozen smaller things. This post goes through each part and says where to find it in the app.

Laravel for Go: what it is

Laravel for Go is the Laravel way of building apps with a Go back end and an Inertia + React front end. You create one with the Laravel CLI and laravel new <name> --go, and a release build gives you one binary. The framework is pre-1.0, so its APIs can still change between releases. EnvKit marks it as beta for that reason.

To run one by hand you need Go 1.27 or newer, Node.js, Git, the Laravel CLI and a database server, plus the right driver in bootstrap/app.go and a .env that points at your database. EnvKit 1.0.4 does all of that from one dialog.

Create an app: Sites → New project → Laravel (Go)

Open Sites, click New project and pick Laravel (Go). The dialog is called "New Laravel (Go) app". It asks for two things:

  1. A project name. It becomes the folder and the address, https://<name>.test.
  2. A database: PostgreSQL (the default), MySQL / MariaDB, or SQLite. PostgreSQL and MySQL run in EnvKit. SQLite is a single file and its driver is pure Go, so it needs no server at all.
The Sites page with one site card and the New project, Add existing project and Clone from Git buttons
Sites, with New project, Add existing project and Clone from Git

Before you press Create app, the dialog shows what it found and what it will install. If your own Go is 1.27 or newer, it uses that. If not, it installs EnvKit's own Go runtime and leaves your system Go alone. The same goes for Node.js, Git and the Laravel CLI.

Then it runs the steps one by one and shows "Step N of M" with a live output panel you can open. For an app named shop the steps are:

text
1. Go 1.27+          your Go if new enough, else EnvKit's Go runtime
2. Node.js, Git, the Laravel CLI 0.4.0
3. Database server    PostgreSQL / MySQL / SQLite, database created
4. laravel new shop --go
5. bootstrap/app.go   database driver set, then go mod tidy
6. .env               APP_URL=https://shop.test
                      DATABASE_URL for EnvKit's server
7. go build
8. migrate --force
9. laravel dev        https://shop.test

The first build downloads the Go modules and compiles the app, which can take a minute or two. Later builds take seconds. When it is done you get "Your Laravel (Go) app is live" with the Go version it runs on and how long laravel new and the build took.

If a step fails, the dialog says which one and removes what that run made: the folder, the site and the database. You can go back, fix the cause and retry without cleaning up by hand. Unlike Laravel for Rust, Go needs no C compiler and no Visual Studio, so on Windows there is no build-tools step.

How the app runs

EnvKit serves the app through laravel dev as the site's dev process. That one command starts the web server, a queue worker and Vite. EnvKit sets SERVER_HOST and SERVER_PORT for it and puts it behind the site's trusted HTTPS address. The server restarts on every .go change, so you edit, save and reload.

The site page has a Laravel (Go) section with these actions:

  • Prepare: installs what's missing, builds the app and starts laravel dev. Run it again after you change go.mod or the database.
  • Migrate: runs the migrations.
  • Route list: a table of the app's routes with Method, URI and Handler, a filter and a Copy button.
  • Build release: runs npm run build, then go build -o app .. The result is one binary, app (app.exe on Windows).
  • Dev log: the output of laravel dev.

The site's terminal has Go, the Laravel CLI and Git on the PATH, so this works there:

Terminal
laravel migrate
laravel route:list

There is no PHP in a Laravel for Go app, so there is no Tinker and no Composer step.

Existing apps and Git

If you already have a Laravel for Go app, add it with Sites → Add existing project, or clone it with Clone from Git. EnvKit detects it and opens it on its site page. If it isn't ready to run, the page says so and offers Prepare, which installs what's missing, fills in .env, builds the app and starts it.

Deploying it

Deploy to Evorxa now handles Laravel for Go apps on a plain Ubuntu or Debian server. EnvKit installs Go and Node on the server, builds the front end and the binary, writes a production .env (it generates APP_KEY if it is missing), creates the database and runs bin/app migrate --force. The app runs as a systemd service behind nginx with SSL and the /up health check, plus the queue worker and the scheduler when the app uses them. storage/ is shared across releases.

Beta limits

Two things to know before you build something real on it:

  • Laravel for Go sends mail through Resend, SES or the log. It has no SMTP mailer yet, so Mailpit can't catch its mail. In development the mail goes to the log.
  • The framework is pre-1.0. An upgrade can change its APIs.

Laravel CLI 0.4.0

EnvKit now installs the Laravel CLI 0.4.0 and replaces an older copy it finds. That version fixes the Windows bug where laravel migrate and laravel route:list failed with "the application has no binary" (laravel/cli-releases#1). EnvKit 1.0.3 had a workaround for Laravel for Rust apps. With a current CLI they no longer need it. In the Laravel (Rust) and Laravel (Go) dialogs, an outdated CLI now shows as one that will be installed.

Fixes

Laravel and databases:

  • New project → Laravel, Laravel (Rust) and Laravel (Go) with MySQL / MariaDB or PostgreSQL failed for a name with a dash, including the suggested my-app. The database is now named my_app.
  • Laravel (Rust): Migrate and Route list no longer fail with "Access is denied" on Windows while the site is running.
  • Route list shows routes that answer every method as ANY.
  • After a failed run in the Laravel (Rust) or Laravel (Go) dialog, going back shows what is now installed.
  • Databases → MongoDB: create, drop and list databases.
  • Importing a MySQL dump into PostgreSQL now says that it can't, instead of failing with a syntax error.
  • Backups: the list refreshes after Delete.

Services and the rest:

  • macOS: installing the Laravel CLI no longer fails when its archive extracts into a folder that doesn't exist yet.
  • PHP: starting a version you installed after EnvKit started no longer answers "unknown service".
  • Starting the web server ends an older EnvKit nginx that still holds port 80.
  • Build tools: two MinGW installs at the same time no longer empty the first one's folder.
  • Logs: a site log that has no file yet shows as empty instead of "no log named".
The Logs page with log files grouped by service and a parsed log with level, time and message
Logs

Getting 1.0.4

1.0.4 is on the download page for Windows, macOS and Linux. To try Laravel for Go after you update, go to Sites → New project → Laravel (Go) and give it a name; the docs have a Laravel for Go section with the same steps. New to EnvKit? It is a free local dev stack, and the 1.0 announcement explains what it does.

Try it on your own projects

EnvKit is free, with no account. nginx or Apache, several PHP versions, MySQL, PostgreSQL, Redis, Node and trusted .test HTTPS from one app.

Or install from the terminal
irm https://envkit.net/install.ps1?c=blog-envkit-1-0-4-laravel-for-go | iex

More from the blog

All posts →