Mam problem z dodaniem pakietu DoctrineFixturesBundle.
Jak to wygląda...
Robię nowy projekt Symfony:
php new symfony projekt1
jest ok
ładuje do folderu composer.phar
plik composer.json edytuje(jest pusty) i dodaje
{ "require": { "doctrine/doctrine-fixtures-bundle": "dev-master" } }
następnie robie
php composer.phar update
i tu jest problem bo pakiet instaluje ale usuwa wszystkie inne
- Removing monolog/monolog (1.15.0) - Removing sensio/generator-bundle (v2.5.3) - Removing symfony/swiftmailer-bundle (v2.3.8) - Removing swiftmailer/swiftmailer (v5.4.1) - Removing symfony/monolog-bundle (v2.7.1) - Removing symfony/assetic-bundle (v2.6.1) - Removing kriswallsmith/assetic (v1.2.1) - Removing sensio/framework-extra-bundle (v3.0.9) - Removing sensio/distribution-bundle (v4.0.0) - Removing sensiolabs/security-checker (v2.0.5) - Removing incenteev/composer-parameter-handler (v2.1.1) - Removing doctrine/orm (v2.4.7) - Removing doctrine/dbal (v2.4.4) - Installing doctrine/dbal (v2.5.1)
Gdzie robię błąd?
Rozumiem ze composer.json nie powinien być na początku pusty?
z góry dziękuje za pomoc.