Notes on working with Laravel Valet.
Config: ~/.valet/config.json
Locate php.ini
: php --ini
Custom php.ini
: /usr/local/etc/php/7.1/conf.d/myphp.ini
Nginx: /usr/local/etc/nginx/nginx.conf
Custom Nginx: /Users/username/.valet/Nginx
Install Valet globally: composer global require laravel/valet
then valet install
PHP: brew install php71
MySQL: brew install mysql
then mysql.server restart
Run secure MySQL installation: mysql_secure_installation
Auto-launch MySQL: brew services start mysql
Set main directory: valet park
Link: valet link repository
Show linked: valet links
Unlink: valet unlink repository
Secure: valet secure repository
Unsecure: valet unsecure repository
Change the TLD for all registered domains to .test
: valet domain test
Note: The .local
TLD doesn't work properly on macOS.
Share current repository: valet share