Expose alternative

lokei vs Expose

Expose is a PHP-first tunnel with managed and self-hosted networks, stable public naming, and strong request inspection. lokei owns the local project workflow before the tunnel: it starts the app, creates trusted local HTTPS, understands its services, and shares them as one project session.

Last verified: July 16, 2026

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

At a glance

Both can infer context from a folder, but they infer different things from it.

Scroll horizontally to see every column.

At a glance
CapabilitylokeiExposeOfficial evidence
Current-directory behaviorDetects the project, starts its normal command or services, and registers its local routeAssumes the current folder is reachable as foldername.test, or accepts an explicit local URL
Local HTTPS ownershipCreates and serves trusted local .test routes itselfCan tunnel an existing local HTTP or HTTPS site but does not create that local site environment
Public tunnel networkManaged lokei cloud share sessions tied to project and service identityManaged Expose network or a self-hosted Expose server
Public namingStable project-based names, requested vanity subdomains, and custom domains through lokei cloud plansSlug-derived or chosen subdomains, reserved subdomains, and white-label custom domains
Traffic inspectionLocal browser inspector with filtering, editable replay, retention, and HAR exportCLI and web dashboard show incoming requests and support inspection and replay
Application lifecycleStarts frameworks, Compose, Sail, and declared services before sharingTunnels an already-reachable site or local URL; the application environment is supplied separately

Feature-by-feature comparison

Expose has the edge when relay deployment control matters. lokei has the edge when the tunnel must be part of a complete local project lifecycle.

01

Laravel and local development

Scroll horizontally to see every column.

Laravel and local development
CapabilitylokeiExposeOfficial evidence
Herd and Valet integrationCan run Laravel directly or detect Laravel Sail without requiring Herd or ValetThe no-argument folder workflow is designed around the .test convention used by Herd and Valet
Framework breadthDetects 30+ frontend and backend stacks and their expected environment variablesCan tunnel any reachable HTTP or HTTPS site but its CLI and ecosystem are PHP-first
Docker and multi-service startupDiscovers Compose and Sail, starts dependencies, and distinguishes public services from private infrastructureCan tunnel a container or service URL but does not own its Compose or dependency lifecycle
02

Tunnel deployment and names

Scroll horizontally to see every column.

Tunnel deployment and names
CapabilitylokeiExposeOfficial evidence
Managed serviceHosted sharing is integrated with lokei project sessions and account authorizationExpose offers a managed free and Pro network with regions, reserved subdomains, and team features
Self-hostingThe customer-facing sharing service is managed by lokeiThe Expose server can be hosted on your own infrastructure for data and domain control
Custom domainsSupports custom-domain capabilities through lokei cloud plansManaged Pro or self-hosted servers can use owned domains and automatic SSL
03

Inspection and share lifecycle

Scroll horizontally to see every column.

Inspection and share lifecycle
CapabilitylokeiExposeOfficial evidence
Where inspection runsNormal local traffic and public-share traffic can be inspected through the local lokei interfaceThe Expose CLI and dashboard inspect requests passing through an Expose tunnel
Multi-service sessionOne project share can include selected web, API, and documentation services with consistent namesEach share command targets a site or URL; several services are coordinated as separate tunnel connections
Start before shareA stopped project is started and checked before the share session succeedsThe local site must already be reachable through its inferred .test name or supplied URL

Where each product has a real edge

Expose offers more tunnel deployment control; lokei offers more control over the application lifecycle behind the tunnel.

01

Where Expose has a real edge

A flexible PHP-friendly tunnel that can be managed or self-hosted.

  • Fit naturally into Laravel Herd and Valet .test workflows.
  • Choose the managed global network or run the Expose server yourself.
  • Use reserved subdomains, white-label custom domains, and regional servers.
  • Audit and extend the public PHP source, including server-side subdomain, user, and view hooks.
02

Where lokei has a real edge

One cross-stack command from stopped project to local and public URLs.

  • Create the local .test environment instead of assuming Herd or Valet already provides it.
  • Start JavaScript, PHP, Docker Compose, Sail, and monorepo services automatically.
  • Inspect ordinary local requests before any public tunnel exists.
  • Share selected dependent services through one project lifecycle and namespace.

Which one fits your workflow?

Choose based on whether tunnel deployment control or project lifecycle automation is more important.

01

Choose Expose if you...

  • Already use Herd or Valet and want a tunnel that understands that .test convention.
  • Need a self-hosted tunnel server or a white-label custom domain.
  • Want a PHP-native CLI and managed regions for public sharing.
  • Already manage application startup and local HTTPS separately.
02

Choose lokei if you...

  • Need local .test domains without adopting a PHP-specific environment.
  • Work across frontend, backend, Laravel, Docker, and monorepo projects.
  • Want one command to start a stopped app and share the right services.
  • Need local inspection and replay even when the application stays private.

Move the local workflow before the tunnel

Keep Expose available for self-hosted or white-label requirements while evaluating lokei as the project runner and default share command.

  1. 01Leave Expose tokens, custom domains, and self-hosted server configuration intact.
  2. 02Install @ulpi/lokei globally, run setup, and verify lokei doctor.
  3. 03From the same project directory, run lokei run and confirm that the application starts on its .test URL without Herd or Valet assumptions.
  4. 04Use lokei share for project-aware collaboration; keep Expose for self-hosted relay, white-label domains, or existing PHP-specific tunnel automation.

This staged approach avoids breaking registered webhook or OAuth domains while you compare the local startup and inspection workflows.

lokei vs Expose FAQ

Answers about Laravel, local HTTPS, self-hosting, custom domains, inspection, and multi-service shares.

Is Expose only for Laravel applications?

No. Expose can tunnel any HTTP or HTTPS site reachable from the machine. Its current-directory conventions, PHP implementation, and Herd or Valet integration make it especially natural for Laravel and PHP developers.

Does Expose create the local .test site?

No. Its no-argument folder workflow assumes the site is already reachable through a foldername.test convention, usually from Herd or Valet. lokei creates the named local HTTPS route and starts the application itself.

Can both products inspect and replay requests?

Yes. Expose inspects and replays traffic passing through its tunnel in the CLI and dashboard. lokei inspects routed local and shared traffic through a browser interface and adds filtering, editable replay, retention, and HAR export.

Can I self-host lokei or Expose?

Expose documents a self-hosted server and is the stronger choice when relay infrastructure must run in your account. lokei's customer-facing sharing service is managed, while its local proxy, DNS, certificates, and inspector run on the developer machine.

Which tool starts Laravel Sail?

lokei. It detects and starts the Sail or Compose stack and distinguishes public HTTP services from databases, caches, and workers. Expose can tunnel the resulting URL or port once that stack is already reachable.

Which tool is better for custom public domains?

Expose is stronger when white-label domains and self-hosted infrastructure are requirements. Both products offer managed custom-domain capabilities, but Expose explicitly supports owned domains on Pro and self-hosted servers.

Which tool is better for a monorepo with web and API services?

lokei. It can model dependencies and share selected HTTP services under one project session and naming scheme. Expose can open separate tunnels to each URL, but service discovery and lifecycle coordination remain external.

Sources and methodology

Expose claims use its official product, client sharing, custom-domain, and self-hosting documentation. lokei claims use the public website and npm package documentation.

Verified July 16, 2026. Managed plans, regions, and features can change. Expose is a trademark of its respective owner. lokei is not affiliated with or endorsed by Expose. Claims about current-folder inference are limited to Expose's documented Herd and Valet-style .test convention.

$ lokei run

Own the project lifecycle before the tunnel

Install lokei, complete setup once, and run or share an existing project from its folder across frameworks.

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