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

feniixx's avatar

php artisan commands not recognized

I've already added php to the path, also installed everything to setup a laravel project, but when i run php artisan <command> it just doesn't do anything. My current OS is Windows 10.

I can run composer commands, but i cant run php artisan.

What could be happening?

0 likes
4 replies
kylestev's avatar
  1. What's the output when you execute the following command?

php -v

  1. After adding PHP to your path, did you re-source or close and re-open your terminal?
itsjoshbruce's avatar

Running into the same issue.

  1. PHP 5.6.29 (cli) (built: Dec 9 2016 23:39:41)
  2. I'm not sure I'm following this question.
somnathsah's avatar

Please check you are running these commands from the home directory of your LARAVEL project.

vipin93's avatar

make sure u are in project folder , and switch to laragon.org if u windows user

Please or to participate in this conversation.