Hızlı yanıt: kod örneği
For anyone still reading seeking answer (like I did when I found this): simply restarting cmd prompt will not work, you have to restart Windows Explorer or your computer and then both composer and php will work globally.
İngilizceden çevrildi