I try install DoctrineFixturesBundle in symfony 2.6.6 using this documentation. However, I get:
Fatal error: Class 'AppBundle\AppBundle' not found
If I remove AppBundle\AppBundle
from AppKernel.php
, I have the same problem with another bundle. I installed Symfony via the Symfony installer and my composer.json
was empty before I added:
{
"require": {
"doctrine/doctrine-fixtures-bundle": "2.2.*"
}
}
Maybe this is a part of the problem?
You should add autoloading configuration to your
composer.json
.