Sharing sites
Valet Linux+ can share a local site publicly through an ngrok tunnel — handy to show work to a client or test webhooks.
Configure ngrok
ngrok requires an account. Sign up, copy your authtoken and run:
valet ngrok-auth <authtoken>
Share a site
From the site's directory:
valet share
Valet resolves the site (including linked sites), opens the tunnel and copies the public URL to your clipboard. Secured sites are shared correctly as well. Press Ctrl+C to stop sharing.
To print the URL of the current tunnel from another terminal:
valet fetch-share-url
Note
The ngrok binary is downloaded during valet install and stored inside the package's bin/ directory.