Skip to content
New · Beta

Run Laravel for Rust locally

Pick Laravel (Rust) in New project, choose a database, and EnvKit installs Rust, the build tools, the Laravel CLI and the database, builds the app and serves it at https://name.test. On Windows, macOS and Linux.

Free, no account. Laravel for Rust support needs EnvKit 1.0.3 or newer (latest: v1.0.6); EnvKit updates itself.

What Laravel for Rust is

Laravel for Rust (Laravel calls it Laravel Rust) is Laravel’s full-stack framework written in Rust. Taylor Otwell announced the first beta on December 1, 2026. It runs on Axum and Tokio, with routing, typed validation, models, migrations, queues and Inertia with React and Vite for the front end. An app is created with the new Laravel CLI: laravel new <name> --rust.

To run one on your machine you need a Rust toolchain, a C compiler (some of its dependencies compile C code), Node.js, the Laravel CLI and a database. On Windows that usually means installing Visual Studio’s C++ build tools first. EnvKit does all of it for you, then serves the app at a trusted https://<name>.test address.

One click, four steps

  1. Open New projectIn EnvKit, go to Sites → New project and pick Laravel (Rust). It has a Beta badge.
  2. Name it, pick a databaseType a name and choose SQLite (the default), PostgreSQL, MySQL or MariaDB. That’s all the input it needs.
  3. EnvKit sets it upA checklist installs what’s missing (build tools, Rust, Node.js, Git, the Laravel CLI, the database server), runs laravel new --rust, writes .env, builds and migrates. If a step fails, it says which one and rolls back the folder, site and database.
  4. Open your applaravel dev runs as the site’s process on a free port, and the app is live at https://<name>.test. Open it in the browser, your editor or a terminal.
What New project → Laravel (Rust) runs
Build tools        MinGW-w64 on Windows, Apple's CLT on macOS, gcc on Linux
Rust 1.99+         EnvKit's Rust runtime, or your rustup if it fits
Node.js, Git, Laravel CLI 0.4.0
Database           PostgreSQL / MySQL / MariaDB / SQLite, database created
laravel new shop --rust
Cargo.toml         database-postgres | database-mysql | database-sqlite
.env               APP_URL=https://shop.test, DATABASE_URL for EnvKit's server
cargo build        the first build takes minutes
migrate --force
laravel dev        https://shop.test

The first build compiles the whole framework and can take several minutes; later builds take seconds. The step shows the compiler output while it runs.

After it’s created

  • Site page. The site has a Laravel (Rust) section with Migrate, Route list, Build release (npm run build + cargo build --release, with the path of the binary) and the dev log.
  • Terminal. EnvKit’s Rust, its build tools and the Laravel CLI go on the PATH EnvKit manages, so a new terminal has cargo, gcc and laravel.
  • Existing apps. Add existing or Clone from Git detects a Laravel for Rust app from its Cargo.toml. Prepare on the site page installs what’s missing, builds, creates the database on EnvKit’s server, migrates when you tick it and starts laravel dev. An existing .env only changes when you tick the change it shows.
  • Build tools. They also live in Tools → Dev CLI → Build tools, with their size and license.

Requirements and limits

  • Windows 10/11 x64. EnvKit installs MinGW-w64 (GCC 16.2) as its build tools: about a 260 MB download into EnvKit’s data folder. No Visual Studio and no administrator rights. Windows on ARM is not supported (the build tools are x86_64 only).
  • macOS (Apple Silicon). Needs Apple’s Command Line Tools. If they’re missing, EnvKit opens Apple’s installer; finish it and press Retry.
  • Linux x86_64. Needs gcc or clang. EnvKit names the package to install (build-essential, gcc or base-devel).

FAQ

Do I need Visual Studio or the MSVC build tools on Windows?
No. Laravel for Rust compiles some C code, so a compiler is needed. EnvKit installs its own MinGW-w64 (GCC) build tools into its data folder, next to its own Rust, without administrator rights. If you already have a rustup MSVC toolchain and Visual Studio’s C++ tools, EnvKit uses those instead and installs nothing.
Do I need to install Rust or rustup first?
No. EnvKit uses the first Rust 1.99 or newer that can build the app: its own Rust runtime, or your rustup if it has a toolchain that fits. If none fits, it installs its Rust runtime for you. Node.js, Git and the Laravel CLI are installed the same way.
Which databases can a Laravel for Rust app use in EnvKit?
SQLite (the default: a file in the project, nothing to install), PostgreSQL, MySQL or MariaDB. EnvKit installs and starts the database server, creates the database, switches the app’s Cargo feature to match and writes DATABASE_URL into .env.
How long does the first build take?
The first build compiles the whole framework and its dependencies, so expect several minutes on a laptop. Later builds take seconds. EnvKit shows the build as its own step with the compiler output, so you can see it working.
Why does laravel migrate say “the application has no binary” on Windows?
That was a bug in Laravel CLI 0.3.0 on Windows (laravel/cli-releases issue #1), fixed in CLI 0.3.1. EnvKit installs CLI 0.4.0 and replaces an older copy of its own, so laravel migrate and laravel route:list work. If you run your own CLI 0.3.0 or older, update it with laravel self-update, or use the laravel command on EnvKit’s PATH, which sends app commands through cargo run for those old versions.
Does mail from a Laravel for Rust app show up in Mailpit?
Not yet. The framework has no SMTP mailer in this beta, so EnvKit leaves the mailer on log and mail goes to the app’s log instead of Mailpit.
Can I open a Laravel for Rust app I already have?
Yes. Add it with Sites → Add existing or Clone from Git. EnvKit detects it from Cargo.toml and opens the site page, where Prepare installs what is missing, builds the app, creates the database on EnvKit’s server and starts laravel dev. An existing .env is only changed when you tick the change it shows.
What does it need on macOS and Linux?
On macOS, Apple’s Command Line Tools: EnvKit opens Apple’s installer if they are missing. On Linux, gcc or clang: EnvKit names the package to install (build-essential, gcc or base-devel). EnvKit itself runs on macOS with Apple Silicon and on Linux x86_64.
Does it work on Windows on ARM?
No. The MinGW-w64 build tools EnvKit installs are x86_64 only, so the Laravel (Rust) flow stops at the build tools step on Windows on ARM.
Is EnvKit free?
Yes. EnvKit is free for personal and commercial use, with no account and no card. Laravel for Rust support is part of EnvKit 1.0.3.

Try it

Free, no account. Laravel for Rust support needs EnvKit 1.0.3 or newer (latest: v1.0.6); EnvKit updates itself.

More detail is in the EnvKit docs: Laravel for Rust (beta) and the walkthrough on the blog. For the framework itself, read Laravel’s announcement and the Laravel Rust docs.

Last updated December 2026.