Note Laravel Valet is only for MacOS
- Install the latest version of Laravel Valet by following the documentation
- Go into your individual projects and run
valet isolate php@<phpversion>
i.e.valet isolate 7.4
- To Run Artistan commands use
valet php artisan
- To Run Composer use
valet composer