Laravel - valet 404 not found

You should run:

valet park

from your project folder to add it to Valet's paths.


Run following commands from your project directory:

valet park
valet link backend-laravel

You should run:

valet park

on your main folder (where all the laravel projects are stored) while the folders inside the main folder are the project folders and folder_name_inside_the_main_folder.test opens the project on your browser.

OR

You should run:

valet link

on your project folder and open foldername.test on the browser.

Hope it helps someone!!!