Yes, thank you. I did upgrade to PHP 7.3, and installed the Roave package, but there was no change in the app behavior, as I still have problems with annotations not being auto-loaded. As far as I can tell, my code does pretty much everything as shown at that github site. That site includes a note under the example at https://github.com/Roave/psr-container-doctrine/blob/master/example/minimal-config.php that if using php, use the Annotation Driver and directs me to the full config — but the full config doesn’t have any obvious hints about using the Annotation Driver.
I’ve been tracing through the code, and I’ll post something once I get this figured out.
FIXED.
When I built this application, I based much of it on a zend-expressive example that included DoctrineORMModule and DoctrineModule. Including those packages with the out-of-the-box Laminas example was apparently a bad thing. All worked well once I removed them from my configuration (config.php) and cleaned up my composer.json…
\Mezzio\Twig\ConfigProvider::class,
\Mezzio\Router\FastRouteRouter\ConfigProvider::class,
// \DoctrineORMModule\ConfigProvider::class,
// \DoctrineModule\ConfigProvider::class,
The code didn’t exactly give the intuitive error message I’d expect with such a foo-bar, but things are working now.
Once I started looking at the differences between in the vendor packages, things became apparent pretty quickly.
Thanks for your help!