valet

Valet is a Laravel development environment for macOS minimalists

Subcommands

NameDescription
diagnoseOutput diagnostics to aid in debugging Valet
directory-listingDetermine directory-listing behavior. Default is off, which means a 404 will display
fetch-share-urlGet the URL to the current share tunnel (for Expose or ngrok)
forgetRemove the current working (or specified) directory from Valet's list of paths
helpDisplay help for a command
installInstall the Valet services
linkLink the current working directory to Valet
linksDisplay all of the registered Valet links
listList commands
logTail log file
loopbackGet or set the loopback address used for Valet sites
on-latest-version, latestDetermine if this is the latest version of Valet
openOpen the site for the current (or specified) directory in your browser
parkRegister the current working (or specified) directory with Valet
parkedDisplay all the current sites within parked paths
pathsGet all of the paths registered with Valet
proxiesDisplay all of the proxy sites
proxyCreate an Nginx proxy site for the specified host. Useful for docker, mailhog etc
restartRestart the Valet services
secureSecure the given domain with a trusted TLS certificate
shareGenerate a publicly accessible URL for your project
startStart the Valet services
stopStop the Valet services
tld, domainGet or set the TLD used for Valet sites
trustAdd sudoers files for Brew and Valet to make Valet commands run without passwords
uninstallUninstall the Valet services
unlinkRemove the specified Valet link
unproxyDelete an Nginx proxy config
unsecureStop serving the given domain over HTTPS and remove the trusted TLS certificate
useChange the version of PHP used by valet
whichDetermine which Valet driver serves the current working directory
isolateChange the version of PHP used by Valet to serve the current working directory
unisolateStop customizing the version of PHP used by Valet to serve the current working directory
isolatedList all sites using isolated versions of PHP
phpProxy PHP commands to the "php" executable on the isolated site
composerProxy Composer commands with the "php" executable on the isolated site
which-phpGet the PHP executable path for a site
completionDump the shell completion script
securedDisplay all of the currently secured sites
set-ngrok-tokenSet the Ngrok auth token
share-toolGet the name of the current share tool (Expose or ngrok)
statusOutput the status of Valet and its installed services and config

Options

NameDescription
-h, --helpDisplay help for the given command. When no command is given display help for the list command
-q, --quietDo not output any message
-V, --versionDisplay this application version
--ansiForce (or disable --no-ansi) ANSI output
--no-ansiForce (or disable --no-ansi) ANSI output
-n, --no-interactionDo not ask any interactive question
-v, -vv, -vvv, --verbose [verbosity]Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug