Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Dilane237's avatar

Could not open input file: artisan

am in the laravel folder and i am trying to run php artisan serve but it shows this error Could not open input file: artisan. don't know why please help me

0 likes
2 replies
piljac1's avatar

Are you 100% sure that your console location really is your Laravel project root folder ? Because this error occurs when you're not.

Please or to participate in this conversation.