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.
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.
01Leave Expose tokens, custom domains, and self-hosted server configuration intact.
02Install @ulpi/lokei globally, run setup, and verify lokei doctor.
03From the same project directory, run lokei run and confirm that the application starts on its .test URL without Herd or Valet assumptions.
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.