I want to create migrations in Laravel but according to the tutorials I need the Artisan CLI. The php
command works fine and I\'m on Windows. I type in php ar
Explanation: When you install a new laravel project on your folder(for example myfolder) using the composer, it installs the complete laravel project inside your folder(myfolder/laravel) than artisan is inside laravel.that's, why you see an error,
Could not open input file: artisan
Solution: You have to go inside by command prompt to that location or move laravel files inside your folder.