Zend-Application-Resource-Doctrine is a project mainly written in PHP, it's free.
Zend Framwork application resource for loading and configuring Doctrine
Requires >= Zend Framework 1.11
NOTE: These instructions assume a project created using zf create project ...
Create the following directories relative to the project root folder:
Move the files to the appropriate locations:
Add the following lines to the '[production]' section of 'application.ini':
pluginPaths[Application_Resource] = APPLICATION_PATH "/resources" config[] = APPLICATION_PATH "/configs/doctrine.yaml"
Do a sanity check and make sure your application still loads in a browser.
Run zf ? doctrine
to get a list of zf tool commands.
Run zf run doctrine
to get a list of Doctrine tasks
Run zf run doctrine help
to get usage for all Doctrine tasks
Run zf run doctrine task-name help
to get usage for a specific Doctrine task