I want to install the package in my symfony project. However, I run into a few problems. Accept my ignorance if the answer is trivial, but I tried to find a solution, but, alas, I did not find anything.
In my deps file , I have:
[doctrine-couchdb]
git=http:
[DoctrineCouchDBBundle]
git=http:
target=/bundles/Symfony/Bundle/DoctrineCouchDBBundle
I run the bin / vendors install command
In my autoload.php file , I have:
'Doctrine\\ODM\\CouchDB'=> __DIR__.'/../vendor/doctrine-couchdb/lib',
I registered the package:
new Doctrine\Bundle\CouchDBBundle\DoctrineCouchDBBundle()
When I run php app / console, I get an error message:
Fatal error: Class 'Doctrine\Bundle\CouchDBBundle\DoctrineCouchDBBundle' not found in /var/www/symfony2.test/app/AppKernel.php on line 22
I noticed that for MongoDB ODM you have:
[doctrine-mongodb]
git=http:
is there a reduction of doctrine-couchdb? Have you used this kit?
source
share