Php 安装固定装置

Php 安装固定装置,php,git,symfony,doctrine,Php,Git,Symfony,Doctrine,我想安装与文件deps。我将以下行添加到我的文件deps中: [doctrine-fixtures] git=http://github.com/doctrine/data-fixtures.git [DoctrineFixturesBundle] git=http://github.com/symfony/DoctrineFixturesBundle.git target=/bundles/Symfony/Bundle/DoctrineFixturesBundle

我想安装与文件deps。我将以下行添加到我的文件deps中:

[doctrine-fixtures]
    git=http://github.com/doctrine/data-fixtures.git

[DoctrineFixturesBundle]
    git=http://github.com/symfony/DoctrineFixturesBundle.git
    target=/bundles/Symfony/Bundle/DoctrineFixturesBundle
如果我跑

php bin/vendors install
我有一个错误:

>Installing/Updating  doctrine-fixtures
fatal: Not a git repository <or any of parent directories>: .git
fatal: Not a git repository <or any of parent directories>: .git
fatal: Not a git repository <or any of parent directories>: .git
>安装/更新固定装置
致命:不是git存储库:.git
致命:不是git存储库:.git
致命:不是git存储库:.git

我还尝试了
php-bin/vendors-install——重新安装
git=https://github.com/doctrine/data-fixtures.git
但它没有帮助。

这听起来可能很疯狂,但如果这是deps文件中的最后一行,请尝试在它后面添加新行。我也有类似的问题,没有EOL和捆绑包安装失败。

奇怪。。。尝试添加
target=/code>,可能是。。。?您正在尝试通信吗?所有其他安装都正常,DoctrineFixturesBundle也正常。这个问题只存在于条令的固定性上,主要区别在于它没有目标。这就是为什么我要你添加一个。但我还是不明白你的答案。