Laravel Valet, the development environment for Mac minimalists, has just launched version 2.0 which includes bug fixes and it moved from Caddy to Nginx.
Upgrading To Valet 2.0
Upgrading to v2 is simple and can be completed in just a few steps. First, consider backing up your
~/.valet folder just so you have a backup. Next, stop and uninstall your original:
valet stop valet uninstall
Finally, you should upgrade to the latest version of Valet. Depending on how you installed Valet, this is typically done through Git or Composer. If you installed Valet via Composer, you should use the following command to update to the latest major version:
composer global require laravel/valet
Once the fresh Valet source code has been downloaded, you should run the install command:
valet install valet restart
After upgrading, it may be necessary to re-park or re-link your sites.
Since the Valet v1 release a few new drivers have been included and here is a list of all the drivers currently supported:
You can also create your own and the documentation outlines how to do it.
Currently, PHP 7.0 is the version included but work is being done to bring it up to the just released PHP 7.1. Expect that come in a future release.
Photo credit: Peter Saywell (CC BY-NC-SA 2.0)
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
- Laravel + Vue.JS developer
Remote or in Toronto Canada
Star Dot Hosting Inc
- Full Stack or Back-End Developer
Alexandria, VA; Tallahassee, FL; Orlando, FL
Marketing for Change
- Senior Quality Assurance Engineer
- Senior PHP/Laravel Developer: Your Dream Work Environment
iPhone Photography School
- Senior Software Engineer
Remote or San Francisco
- Laravel Developer
Las Vegas, NV
- R&D Developer