Windows 10 home 中的 Drupal Drush master-branch 需要 composer - 什么以及为什么?

Drupal Drush master-branch in Windows 10 home requires composer - What and why?

在我的 Windows 10 家中安装 Drush(Drupal 8 的 master-b运行ch)并设置 PATH EV 所需的所有值后,我 运行 drush cc all...然后我得到了那个错误:

C:\wamp\www\benia>drush cc all Failed loading c:/wamp/bin/php/php5.5.12/zend_ext/php_xdebug-2.4.0rc1-7.0-vc14-x86_64.dll

Unable to load autoload.php.

Drush now requires Composer in order to install its dependencies and autoload classes. Please see README.md.

我还不是程序员,不知道为什么 Drush 需要 Composer 软件,以及如何在 Windows10 home 上安装它以使用 Drush。有没有大佬写个详细的,有步骤的回答,像我这样的外行,怎么解决?

运行 Composer 的 Windows 安装程序应该会处理您需要的一切。你可以找到它here。如果您更喜欢使用命令行,Composer 站点也有相应的说明。

示例,使用 cUrl:

curl -sS https://getcomposer.org/installer | php

使用PHP:

php -r "readfile('https://getcomposer.org/installer');" | php