2๐
โ
You cant use php artisan
if you are not inside a laravel project folder.
That is why it says โCould not open input file โ artisanโ.
You need to be inside laravel folder & make sure that artisan file exist there
If you are on Linux/MAC then use ls
command, if you are on Windows then use dir
command to check your current directory
๐คSTA
1๐
You cannot use php artisan
if you are NOT inside a laravel project folder.
Just use cd
to go to your project_directory and try again
๐คMahabubul Hasan
Source:stackexchange.com