This will setup a local wordpress install and setup Laravel's Valet to develop locally.
Requirements:
- Laravel's Valet https://laravel.com/docs/5.6/valet
- Wordpress's CLI https://make.wordpress.org/cli/handbook/installing/
Notes
- Creates a Wordpress install in the directory you run the file from.
- Creates a new user login with user: admin, password: password. Probably a good idea to change those.
Giving credit where credit is due: This script is a similified and tweaked version of jeherve's script: https://jeremy.hu/dev-environment-laravel-valet-wp-cli/