// use case
Expose your Laravel app on a public URL
php artisan serve runs on 127.0.0.1:8000. lrok exposes it without Valet, Sail, or a deploy. Stripe + Mailgun + Twilio all see real https.
Run Laravel
$ php artisan serve --port=8000Tunnel
$ lrok http 8000Trust the proxy
In app/Http/Middleware/TrustProxies.php set protected $proxies = '*'; and $headers = Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_HOST | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO. Then route() returns https URLs.
// why lrok for this
Laravel signed URLs and CSRF tokens depend on the request URL. Reserve a subdomain and the URLs you generate stay valid across days.