- Install Composer plugin
- Install This plugins
- Use Doctrine engine in any of your plugin. You can access Doctrine Entity manager using one of these methods:
- \Plugin\Doctrine\Service::getEntityManager()
- doctrineEm() - If you need help, have a look at "Doctrine Example" plugin.