I want to integrate the Doctrine 2 to an Apigility driven Zend Framework 2 application.
So I installed zfcampus/zf-apigility-doctrine
$ composer require zfcampus/zf-apigility-doctrine "~0.3"
and activated the modules Phpro\DoctrineHydrationModule
, ZF\Apigility\Doctrine\Server
, and ZF\Apigility\Doctrine\Admin
in the application config files (/config/application.config.php
and /config/development.config.php
).
What should be done next to start using Doctrine in the application as general and particularly in the Apigility Admin area?