Laravel Herd alternative

lokei vs Laravel Herd

Laravel Herd is a native Laravel and PHP development environment that bundles the runtimes and services a PHP developer needs. lokei is a cross-stack runner, proxy, inspector, and sharing layer that works with the runtimes already used by the project.

Last verified: July 16, 2026

npm install -g @ulpi/lokei && lokei setup
See the feature comparison

At a glance

Herd owns a development runtime; lokei orchestrates the runtime a project already declares.

Feature-by-feature comparison

This comparison treats Herd's Laravel specialization as an advantage, not a limitation.

01

Local sites and HTTPS

02

Application and service lifecycle

03

Sharing and debugging

Where each product has a real edge

Herd is a complete opinionated environment; lokei is a portable workflow layer across environments.

01

Where Laravel Herd has a real edge

A polished native home for Laravel and PHP development.

  • Install PHP, nginx, dnsmasq, and Node.js as one supported environment.
  • Serve parked and linked PHP sites continuously without starting a per-project web server.
  • Use Laravel-specific site information, framework drivers, Forge integration, and Pro tooling.
  • Manage sites and TLS through both a GUI and familiar Herd or Valet-style commands.
02

Where lokei has a real edge

One local HTTPS and sharing workflow across heterogeneous projects.

  • Apply the same command to JavaScript, PHP, Docker, Sail, and mixed repositories.
  • Start each project's declared development process and dependent services on demand.
  • Inspect and replay local HTTP traffic without relying on the external share provider.
  • Share one or several services as a native project session instead of delegating to Expose or ngrok.

Which one fits your workflow?

Choose Herd for the runtime environment; choose lokei for a consistent cross-stack project interface.

01

Choose Laravel Herd if you...

  • Primarily build Laravel or PHP applications on a supported desktop platform.
  • Want PHP, nginx, dnsmasq, and Node.js installed and managed together.
  • Prefer parked directories, linked sites, and a native site manager.
  • Value Laravel-specific services, debugging tools, and Forge integration.
02

Choose lokei if you...

  • Move between Laravel, Node, frontend, backend, and Docker projects.
  • Want the repository's own command and runtime to remain the source of truth.
  • Use Laravel Sail or Compose and need public services separated from private infrastructure.
  • Want native request replay and project-aware sharing under one CLI.

Try lokei without removing Herd

The products can coexist when they do not compete for the same DNS and HTTPS listeners. Keep Herd as the PHP runtime while evaluating lokei on a separate project workflow.

  1. 01Keep Herd installed for PHP versions and Laravel tooling, but stop or reconfigure its nginx and dnsmasq services before lokei claims the same .test and HTTPS surface.
  2. 02Install @ulpi/lokei globally, run setup, and confirm lokei doctor reports no unexplained blocker.
  3. 03Run lokei run from a Laravel, Sail, Node, or mixed project and verify the generated route.
  4. 04Compare lokei inspect and lokei share with the Herd plus Expose workflow before changing permanent site links.

Both products may use .test DNS and ports 80 or 443. Do not enable both default routing stacks simultaneously without intentionally changing one product's network configuration.

lokei vs Laravel Herd FAQ

Answers about PHP runtimes, .test domains, TLS, Sail, sharing, and coexistence.

Is lokei a replacement for Laravel Herd?

Not for Herd's bundled PHP runtime, nginx environment, Laravel services, GUI, or Forge integration. lokei can replace the named routing, project startup, inspection, and public-sharing parts when you want those behaviors across more than PHP.

Does lokei install PHP or Node.js?

No. lokei uses the runtime and command the project already declares. Herd intentionally bundles PHP, nginx, dnsmasq, and Node.js, which is valuable when you want an entire Laravel environment installed for you.

Do both products support .test domains and HTTPS?

Yes. Herd automatically serves parked or linked sites under .test, but HTTPS is enabled per site. lokei creates named .test routes for running projects and uses trusted HTTPS by default after setup.

Which is better for Laravel Sail?

lokei has the more direct Sail workflow because it detects and starts the Docker-based Sail stack and routes public HTTP services. Herd is strongest when you want its native, non-container PHP and Laravel environment.

How does public sharing differ?

Herd delegates sharing to Expose and documents ngrok as an alternative. lokei owns the project-aware share session, starts a stopped app, supports service selection, and manages status and stop commands itself.

Which product supports non-Laravel projects better?

lokei. It detects many frontend and backend stacks and can run Docker Compose or mixed monorepos. Herd supports several PHP applications through drivers and includes Node.js, but its product model remains centered on Laravel and PHP sites.

Can Herd and lokei run together?

They can both be installed, but their default .test DNS and HTTPS proxies can conflict. Stop or deliberately reconfigure one routing stack before enabling the other. Herd can still provide PHP binaries even when lokei owns project routing.

Sources and methodology

Herd claims use its official installation, site, HTTPS, and sharing documentation. lokei claims use the public website and npm package documentation.

Verified July 16, 2026 using Laravel Herd's public macOS documentation. Platform availability and Pro features can change. Laravel and Herd are trademarks of their respective owners. lokei is not affiliated with or endorsed by Laravel or Herd.

$ lokei run

Use one project command across stacks

Install lokei, complete setup once, then run Laravel, Sail, Node, Docker, and other projects through the same local HTTPS workflow.

npm install -g @ulpi/lokei && lokei setup