Setting $PATH in Laravel Valet/Nginx on macOS
To set PATH for Nginx, open:
nano /usr/local/etc/nginx/fastcgi_params
Add this line:
fastcgi_param PATH /usr/local/sbin:/Users/janne/bin:/usr/local/bin:/Users/janne/.composer/vendor/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin;
valet restart