Using composer to install third party symfony bundle
-
11-12-2019 - |
Question
Ok. Composer seems great.
But is more complex that deps method to add new bundles. I still don´t get it.
Please someone give me a complete example on how to add a third party bundle to a symfony2 2.1.0-BETA4
installation.
The bundle I want to add is this.
Solution
Basically:
{
"require": {
"doctrine/doctrine-fixtures-bundle": "dev-master"
}
Regarding to the doc, this is how it should be set up.
And if you only want this bundle (and not DoctrineFixturesBundle
):
{
"require": {
"doctrine/data-fixtures": "dev-master"
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow