Saturday, March 4, 2023

Valet commands cheet sheets

Starting and Stopping Valet

valet start - Start Valet

valet stop - Stop Valet

valet restart - Restart Valet

Managing Sites

valet park - Map the current directory to a Valet site

valet link [name] - Create a symbolic link for a site

valet secure - Secure a site with HTTPS

valet share - Share a site publicly via ngrok

valet unlink [name] - Remove a symbolic link for a site

valet unsecure - Remove HTTPS from a site

valet forget [name] - Remove a site from Valet

Viewing Logs

valet logs - View the Nginx and PHP error logs

Miscellaneous

valet paths - Display the paths used by Valet

valet open - Open the current site in your default web browser

valet list - List all sites that are mapped in Valet

valet version - Display the current version of Valet

I hope you find this cheet sheet helpful! Let me know if you have any other questions. 

No comments:

Post a Comment