Larave Valet version 2.0 has been released, and the built-in server has been replaced with Nginx
Laravel Valet, the minimalist Laravel development environment on the Mac platform, has recently released version 2.0. The new version mainly includes some bug fixes and the replacement of the built-in server from Caddy to Nginx.
Upgrade to Valet 2.0
Upgrading to a new version is simple and can be completed in just a few steps.
First, back up your ~/.valet
Directory, then stop the running Valet and uninstall it:
valet stop valet uninstall
Finally, upgrade to the latest version of Valet. You can upgrade through Git or Composer, depending on the way you install Valet. For example, I used to install through Composer globally, so first I need to modify ~/.composer/composer.json
in valet
Version number of:
"laravel/valet": "^2.0"
Then run the Composer global update command to update the Valet dependency:
composer global update
Finally, we use the Valet installer to execute the installation and restart commands:
valet install valet restart
When viewing the Valet version, you will find that it has been upgraded to version 2.0:

Valet Drive
Currently, Valet supports the following drivers:
- Basic
- Bedrock
- Cake
- Concrete5
- Contao
- CraftCMS
- Drupal
- Jigsaw
- Joomla
- Katana
- Kirby
- Laravel
- Sculpin
- Statamic
- Symfony
Of course, you can also refer to it if necessary Official Documents Create a custom driver.