我想在 Symfony 中安装 FOS User Bundle 但出现 Composer 错误

I want to Install FOSUser Bundle in Symfony but geting Composer error

我想在 Symfony 中安装 FOSUser Bundle 但出现 Composer 错误,'composer' 未被识别为内部或外部命令, 可运行的程序或批处理文件。我还附上了屏幕截图。我做了很多关于这个主题的研发但无法安装。

[在此处输入图片描述][1]
enter image description here

在我的第二张截图中,我展示了安装 FOSUser Bundle 所遵循的步骤。

我附上了更新后的错误截图 enter image description here

通过"php composer.phar require friendsofsymfony/user-bundle "~2.0""命令我"Download FOSUserBundle using composer"