title: When executing Composer commands error "'php' is not recognized as an internal or external command, operable program or batch file"
body: <p>So I've been trying to install Laravel with Composer for about a week and a half now using windows 10 and wamp and even Homestead at one point. Every time I execute the "composer create-project --prefer-dist laravel/laravel demo" or anything else that Composer uses PHP to be executed, the error " 'php' is not recognized as an internal or external command, operable program or batch file" appears.</p>
  
  <p>When searching for this problem all solutions point to the Path variable and adding a PHP path to it, but that's not the problem. Executing PHP commands normally without Composer works 100% of the time with 0 errors and the PHP path already exists. Only when using Composer does this error appear. </p>
  
  <p>Can someone please help me find out how to solve this problem? It's an emergency. I'm about to graduate college and I need to use Laravel to make my end of Semester project. I'd gladly share any information to those who want to help me solve this problem.  </p>