symfony-cmf/symfony-cmf-docs

Documentation "Create a New Project with PHPCR-ODM"

jdespatis opened this issue · 0 comments

Strictly speaking, the instructions provided at http://symfony.com/doc/master/cmf/cookbook/database/create_new_project_phpcr_odm.html doesn't seem to be fully valid

It's due to the presence of composer.lock that forbids composer.phar to read from composer.json.
As a result, the PHPCR-ODM packages are not installed (resulting in an error as Doctrine\Bundle\PHPCRBundle\DoctrinePHPCRBundle() doesn't exist in AppKernel.php)

Solution would be to use composer.phar require <package> to add those new dependencies?
or just remove the composer.lock file as a quick fix