[caption id="attachment_4777" align="aligncenter" width="625"]
- You need Homebrew
- `brew install php70`
- `brew install mariadb` (server=127.0.0.1, username=root and password=an empty string)
- `brew install composer`
- `brew install wp-cli`
- `composer global require laravel/valet`
- Add ~/.composer/vendor/bin to PATH
- `valet install`
- `mkdir ~/Sites`
- `cd ~/Sites`
- `valet park`
- `mkdir ~/Sites/wp-valet`
- `cd ~/Sites/wp-valet`
- `wp core download`
- https://wp-valet.dev
- BONUS: Share your local site using `cd ~/Sites/wp-valet && valet share`
You can learn a lot more at:
- Laravel Valet
- A Minimalist Development Environment for WordPress with Laravel Valet
- Laravel Releases Valet, a Minimalist Development Environment with Support for WordPress
- Video: Local WordPress Development With Laravel Valet
Btw, for more complex projects I use VVV