As a beginner in Symfony Im trying to install and use new bundle in Symfony (DoctrineFixturesBundle) but result in a problem.
I install bundle following the instruction http://symfony.com/doc/master/bundles/DoctrineFixturesBundle/index.html
and after all when adding new project using new-Symfony in Netbeans i got this message:
php composer.phar update
again and be sure that there is no error. – Devatoriasrc/AppBundle/
directory? If so, removenew AppBundle\AppBundle()
from the list of your bundle. – Federkuncomposer.json
then runcomposer update
. Finally installDoctrineFixturesBundle
withcomposer require doctrine/doctrine-fixtures-bundle "2.2.*"
– Federkuncomposer create-project
. Check if that work well then installDoctrineFixturesBundle
as I said in my comment. Then add the bundle inAppKernel.php
– Federkun/MyProject/app/console
. Just left-click on theMyProject
-> Symfony2 -> Run Command. – Federkun