Valet+ is a fork of laravel/valet. It supports automatic virtual host configuration based on the folder structure.
This is a modified version of the official Installation Guide.
composer remove laravel/valet
brew tap henkrehorst/php
brew install email@example.com
brew link firstname.lastname@example.org --forcecommand
brew instal composer
composer global require weprovide/valet-plus
~/.composer/vendor/binis in your path by adding
export PATH="$PATH:$HOME/.composer/vendor/bin"to your
valet fixWARNING: This will uninstall all other PHP installations
valet installcommand. Optionally add
--with-mariadbto use MariaDB instead of MySQL. This will configure and install Valet+ and DnsMasq. Additionally, it registers Valet's daemon to launch when your system starts
valet parkto register valet for this directory. Shopware should now be accessible via the
folder-name.test. Notice: "folder-name" is the name of the shopware development template in
valet unsecurebecause this might cause problems with the watcher
ping something.testresponds from 127.0.0.1.
nginx -t or
sudo nginx -t and check for any errors.
This is due to
valet fix uninstalling
email@example.com for some reason. You can fix it by reinstalling Valet-PHP (Step 3 + 4 of "Installing Valet-PHP").
Make sure to NOT run
valet fix afterwards and just proceed with
sudo cp ~/.composer/vendor/weprovide/valet-plus/cli/stubs/elasticsearch.conf /usr/local/etc/nginx/valet/elasticsearch.conf
valet domain test
Try disabing SSL via