在symfony2上安装数据夹具

时间:2013-10-23 16:39:37

标签: php git symfony

我的确切版本是2.3.6;当我尝试进行“作曲家更新”时遇到麻烦。我收到以下消息:

[RuntimeException]                                                                                                                
  Failed to clone https://github.com/doctrine/data-fixtures.git, git was not found, check that it is installed and in your PATH env.                                                                                                                                
  sh: 1: git: not found

我所需的composer.json文件如下:

"require": {
        "php": ">=5.3.3",
        "symfony/symfony": "2.3.*",
        "doctrine/orm": ">=2.2.3,<2.4-dev",
        "doctrine/doctrine-bundle": "1.2.*",
        "twig/extensions": "1.0.*",
        "symfony/assetic-bundle": "2.3.*",
        "symfony/swiftmailer-bundle": "2.3.*",
        "symfony/monolog-bundle": "2.3.*",
        "sensio/distribution-bundle": "2.3.*",
        "sensio/framework-extra-bundle": "2.3.*",
        "sensio/generator-bundle": "2.3.*",
        "incenteev/composer-parameter-handler": "~2.0",
        "doctrine/doctrine-fixtures-bundle": "dev-master",
        "doctrine/data-fixtures": "dev-master"
    },

0 个答案:

没有答案