laravel is not recognized as an internal or external command
Use correct path to the Composer bin
directory.
Good:
%USERPROFILE%\AppData\Roaming\Composer\vendor\bin
Bad:
~/.composer/vendor/bin
For Windows add
C:\Users\MyUserName\AppData\Roaming\Composer\vendor\bin
... to directory by going to "My Computer" > "Properties" > "Advanced" > "Environment > Variables" > "Path".
Note: MyUserName is your pc username .
Restart your PC and it would work