Tutorial by Examples

This command is useful if you want to serve a single site in a directory and not the entire directory. cd ~/Projects/my-blog/ valet link awesome-blog Valet will create a symbolic link in ~/.valet/Sites which points to your current working directory. After running the link command, you can acce...
cd ~/Projects valet park This command will register your current working directory as a path that Valet should search for sites. Now, any Laravel project you create within your "parked" directory will automatically be served using the http://folder-name.dev convention.
This command will display all the registered Valet links you have created and their corresponding file paths on your computer. Command: valet links Sample Output: ... site1 -> /path/to/site/one site2 -> /path/to/site/two ... Note 1: You can run this command from anywhere not just f...
IMPORTANT!! Valet is a tool designed for macOS only. Prerequisites Valet utilizes your local machine's HTTP port (port 80), therefore, you will not be able to use if Apache or Nginx are installed and running on the same machine. macOS' unofficial package manager Homebrew is required to properly...
This command allows you to change or view the TLD (top-level domain) used to bind domains to your local machine. Get The Current TLD $ valet domain > dev Set the TLD $ valet domain local > Your Valet domain has been updated to [local].
IMPORTANT!! Valet is a tool designed for macOS, the version below is ported for Linux OS. Prerequisites Do not install valet as root or by using the sudo command. Valet utilizes your local machine's HTTP port (port 80), therefore, you will not be able to use if Apache or Nginx are installed and...

Page 1 of 1