Skip to content

EnvKit v1.0.3

Choose a tag to compare

@zsnakeee zsnakeee released this 02 Dec 14:18

EnvKit 1.0.3

Laravel for Rust (beta)

  • Sites → New project → Laravel (Rust). Give it a name and pick a database (PostgreSQL, MySQL / MariaDB or SQLite). EnvKit gets everything it needs on its own: the build tools, Rust, Node.js, Git and the Laravel CLI, then the database server and the database. It creates the app, builds it, runs the migrations and serves it at https://.test. If a step fails, it says which one and removes what it made.

  • An existing Laravel for Rust 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 (an existing .env only changes if you tick the changes it shows you), builds the app and starts it.

  • Site → Laravel (Rust): Prepare, Migrate, Route list, Build release and Dev log.

  • The create dialog shows the database choices with their logos (SQLite is the default) and what is ready or will be installed, then each step's progress with its live output.

  • Site → Laravel (Rust) → Route list: copy one route or the whole table.

  • Tools → Dev CLI → Build tools: the C compiler and linker Rust needs. On Windows EnvKit installs its own (MinGW-w64, about 270 MB to download), so you don't need Visual Studio or admin rights.

  • laravel, cargo and gcc work in a new terminal. On Windows, laravel migrate, laravel route:list and other app commands go through a small EnvKit wrapper until the Laravel CLI fixes its Windows bug (laravel/cli-releases#1).

  • Deploy to Evorxa deploys a Laravel for Rust app to a plain Ubuntu/Debian server: EnvKit installs Rust and Node on the server, builds the app and its assets, writes a production .env, runs the migrations, runs the app as a service behind nginx with SSL, and starts a queue worker when the app uses one. The first deploy builds the app (a few minutes); later deploys reuse the build cache.

Limits, since this is a beta:

  • The first build takes a few minutes, longer on a laptop. Later builds are faster.
  • Windows on ARM is not supported yet.
  • The framework has no SMTP mailer yet, so mail goes to the log, not to Mailpit.
  • macOS needs Apple's Command Line Tools. If they're missing, EnvKit opens Apple's installer; finish it and press Retry.

One-click Laravel (PHP)

  • Sites → New project → Laravel is now one dialog: name, starter kit, database (MySQL / MariaDB, PostgreSQL or SQLite) and PHP version. EnvKit installs and starts whatever is missing (PHP, Composer, the web server, the database server, Node.js for a starter kit), creates the database, fills in .env, runs the migrations, builds the frontend and opens "Your Laravel app is live". A failed step says which one and removes what it made.
  • Existing Laravel projects (Add existing or Clone from Git) get a Prepare Laravel card on the site's Overview while something is missing, and always on Site → Env. It runs composer install, makes .env from .env.example if there is none, generates the key, creates the database and, if you tick it, runs the migrations. An existing .env only changes if you tick the changes it shows you.

Welcome tour

  • Shorter and lighter: the card sits in the sidebar next to the tab it explains, so the page stays visible. Two new stops: Logs, dumps and mail, and Servers. Skip takes you back to where you were; the last step offers Back, Create a new site or the Dashboard, and a click anywhere else closes it. Replay it from Settings → Welcome tour.

Fixes

  • Windows: old EnvKit folders left in the System Path by the classic app made php and other tools run old versions. EnvKit now lists them and removes them with one administrator prompt (Tools → Environment Path).
  • Adding or cloning a Laravel project picks an installed PHP that matches its composer.json when the default PHP doesn't.
  • Deploy: a Laravel for Rust site shows the Laravel logo instead of the HTML one.
  • Deploy: a refusal from the server (a hosting panel, a port in use) is shown once instead of twice.
  • Deploy: an SQLite database inside a shared folder (storage/) is no longer deleted on deploy.
  • Site page of a Laravel for Rust app: no PHP version or PHP picker; its terminal has Rust, its build tools and the laravel command.
  • Log windows follow the supporter theme.
  • Rate EnvKit no longer pops up 30 seconds after installing: it asks, as a small strip in the corner, only after a few days of use.
  • A Laravel for Rust app was treated as a Vite app and got a dev server started for it.