Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Symfony2 bin/vendors

When i try to run the following command from my Symfony2 project root

php bin/vendors install

I get the following error:

Could not open input file: bin/vendors

I'm completely new to git and composer and I can't find a way to get this working I wanted to install Doctrine Fixtures Bundle as described in the manual: http://symfony.com/doc/2.0/bundles/DoctrineFixturesBundle/index.html

like image 538
VuesomeDev Avatar asked Oct 06 '12 15:10

VuesomeDev


1 Answers

AFAIK, the newest versions of Symfony2 don't use bin/vendors anymore. Instead they use Composer, which means you might be looking at the 2.0 doc instead of the 2.1.

try adding the following to your composer.json file.

{
    "require": {
        "doctrine/doctrine-fixtures-bundle": "dev-master"
    }
}

then run

$ php composer.phar update
like image 88
Duncan Avatar answered Oct 04 '22 01:10

Duncan