I have a working ZF2 application (skeleton) and you want to integrate Doctrine.
I downloaded 2 modules (DoctrineModule and DoctrineORMModule) from github since I cannot use the composer (therefore, please do not respond with "get composer").
After hours of troubleshooting, I keep getting the following error:
Fatal error: Doctrine \ Common \ Annotations \ AnnotationRegistry 'was not found in the doctrine /DoctrineModule/src/DoctrineModule/Module.php on line 54.
I spend hours searching and trying to debug, but I can’t find a way to fix it. Please help me.
source
share