Fix could not open input file artisan
Posted on: February 11, 2021 by Deven
If you are facing this issue “could not open input file artisan” the most common solution is you need to first create a Laravel project and if you already have one you need to go to this project dir
using cd
command in terminal Like below:
cd my project
Now you will be able to run any artisan commands, for example running PHP artisan will display you a list of available commands.
You can try running following command to check if everything works fine.
php artisan serve
Share on social media
//