Skip to content

EnvKit v1.0.4

Choose a tag to compare

@zsnakeee zsnakeee released this 03 Dec 08:09

EnvKit 1.0.4

Laravel for Go (beta)

  • Sites → New project → Laravel (Go). Give it a name and pick a database (PostgreSQL, MySQL / MariaDB or SQLite). EnvKit gets what it needs on its own: Go 1.27 or newer, Node.js, Git and the Laravel CLI, then the database server and the database. It creates the app with laravel new --go, switches the database driver in bootstrap/app.go, fills in .env, builds the app, runs the migrations and serves it at https://.test through laravel dev (server, queue worker and Vite). If a step fails, it says which one and removes what it made.
  • An existing Laravel for Go app is detected when you use Sites → Add existing or Clone from Git. It opens on its site page, where Prepare installs what's missing, fills in .env, builds the app and starts it.
  • Site → Laravel (Go): Prepare, Migrate, Route list, Build release and Dev log.
  • laravel, go and the app's own commands (laravel migrate, laravel route:list) work in the site's terminal.
  • Deploy to Evorxa deploys a Laravel for Go app to a plain Ubuntu/Debian server: EnvKit installs Go and Node on the server, builds the app and its assets, writes a production .env, creates the database, runs the migrations, runs the app as a service behind nginx with SSL, and starts a queue worker when the app uses one.

Limits, since this is a beta:

  • Laravel for Go sends mail through Resend, SES or the log. It has no SMTP mailer yet, so Mailpit doesn't receive its mail.
  • The framework itself is pre-1.0: its APIs can still change between releases.

Laravel CLI 0.4.0

  • EnvKit now installs the Laravel CLI 0.4.0 and replaces an older copy it finds. It fixes the Windows bug where laravel migrate and laravel route:list failed with "the application has no binary" (laravel/cli-releases#1), so Laravel for Rust apps no longer need EnvKit's workaround on a current CLI.

Fixes

  • 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.
  • macOS: installing the Laravel CLI failed when its archive extracted into a folder that didn't exist yet.
  • Laravel (Rust) and Laravel (Go) dialogs: after a failed run, going back shows what is now installed; an outdated Laravel CLI shows as one that will be installed.
  • Route list: routes that answer every method show ANY.
  • Databases → MongoDB: create, drop and list databases in the new app.
  • Laravel (Rust): Route list and Migrate no longer fail with "Access is denied" on Windows while the site is running (#239).
  • PHP: starting a version installed after EnvKit started no longer answers "unknown service".
  • Web server start 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.
  • Databases: importing a MySQL dump into PostgreSQL says so instead of failing with a syntax error.
  • Backups: the list refreshes after Delete.
  • Logs: a site log that has no file yet shows as empty instead of "no log named".