could not open input file artisan

IF you are getting an error message like “could not open input file artisan” while running a command php artisan make:controller ListController in Laravel then I have simple solution based on my experience.

Initially, I had created a folder “services” under D:\xampp\htdocs\allure\ and I created a Laravel project services inside services folder. I forgot and ran the command “php artisan make:controller ListController” resulting error message as “could not open input file artisan” like shown below Continue reading could not open input file artisan