Installing Laravel Valet on Mac OS X
You must first have Homebrew, PHP 7 or PHP 5.6, and Composer installed. See instructions below.
Here is the command to install Laravel Valet:
brew install homebrew/core/php brew upgrade php composer global require laravel/valet
Setting your parked directory for Laravel Valet
Navigate to root code folder and run this command:
If you run this on the wrong folder and want to unpark
Secure the Laravel Valet Application
valet secure app
Unsecure the Laravel Valet installation
valet unsecure app
Sharing your Laravel Valet app with the world using ngrok
Use these commands to share your app with the world:
It will tell you the live URL that you can share with your friends.
Using Another Domain with Valet
By default, Valet serves your projects using the .dev TLD. If you'd like to use another domain, you can do so using the valet domain tld-name command.
For example, if you'd like to use .app instead of .dev, run valet domain app and Valet will start serving your projects at *.app automatically.
Uninstalling Laravel Valet
These are my notes from a screencast found here:
Upgrading Laravel Valet
You may update your Laravel Valet installation using this command in your terminal
composer global update
After upgrading Composer, it is good practice to run this command
Running this command allows Laravel Valet can make additional upgrades to your configuration files if necessary.
Laravel Valet for Mac OS X
Laravel Valet for Ubuntu / Linux
Laravel Valet for Windows 10
Windows port of the popular development environment Laravel Valet.
If you don't have Composer installed, make sure to install it.
Install Valet with Composer via
composer global require cretueusebiu/valet-windows.
valet installcommand. This will configure and install Valet and register Valet's daemon to launch when your system starts.
If you're installing on Windows 10, you may need to manually configure Windows to use the Acrylic DNS proxy.
Laravel Valet configures your Windows to always run Nginx in the background when your machine starts. Then, using Acrylic DNS, Valet proxies all requests on the
*.dev domain to point to sites installed on your local machine.
Laragon for Windows users