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.

Scroll horizontally to see every column.

At a glance
CapabilitylokeiLaravel HerdOfficial evidence
Primary jobRun many framework and container stacks behind named local HTTPSProvide a native Laravel and PHP development environment
Runtime installationUses the project's existing Node, PHP, Docker, or framework runtimeBundles PHP, nginx, dnsmasq, and Node.js; Herd Pro adds managed development services
Local site discoveryDetects the current project command or reads lokei.yaml and starts it on demandAutomatically serves directories in parked paths and supports explicitly linked sites
Local HTTPSNamed .test routes use trusted HTTPS by default after one-time setupSites use HTTP by default and can be secured individually through the GUI or herd secure
Public sharingNative project-aware share sessions through lokei cloudherd share delegates the public tunnel to Expose, with ngrok documented as an alternative
Best-fit ecosystemMixed frontend, backend, container, Laravel, and monorepo projectsLaravel and PHP applications, with framework drivers and first-party Laravel integrations

Feature-by-feature comparison

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

01

Local sites and HTTPS

Scroll horizontally to see every column.

Local sites and HTTPS
CapabilitylokeiLaravel HerdOfficial evidence
.test domain creationDerives a project name from the repository or configuration and registers it when the app runsMaps folder names in parked paths to .test and creates additional names with herd link
TLS behaviorThe local proxy terminates trusted TLS for active routes automaticallyEach site is explicitly secured or unsecured; secured sites use TLS and HTTP/2
Multiple domains and tenancySupports project and service subdomains plus custom route namesA directory may be linked under more than one .test domain for multi-tenancy scenarios
02

Application and service lifecycle

Scroll horizontally to see every column.

Application and service lifecycle
CapabilitylokeiLaravel HerdOfficial evidence
PHP and Laravel runtimeWraps the project's normal PHP, Artisan, Sail, or Composer-driven command without installing PHP itselfShips a ready-to-use PHP and nginx environment and exposes Laravel application information in the site manager
JavaScript and other frameworksDetects 30+ frontend and backend stacks and their normal development commandsIncludes Node.js but remains designed around Laravel, PHP sites, and Herd drivers
Docker Compose and Laravel SailDiscovers, starts, and routes Sail or Compose while keeping databases and workers privateProvides a native non-container PHP environment; its reviewed site documentation does not describe Compose lifecycle ownership
03

Sharing and debugging

Scroll horizontally to see every column.

Sharing and debugging
CapabilitylokeiLaravel HerdOfficial evidence
Share command contextStarts a stopped project and shares the active route or selected services without asking for a portherd share infers the current Herd site or accepts a local site URL and passes it to Expose
Share providerThe share session, public names, status, and stop lifecycle belong to lokeiExpose supplies the default tunnel account and network; ngrok can be run separately with host-header rewriting
HTTP request inspectionBuilt-in browser inspector captures bodies, filters, replays modified requests, and exports HARHerd focuses on PHP and Laravel debugging tools; Expose supplies tunnel request inspection when used as the share provider

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