Update Feb 21 2011: New module at a new home! See here for details
Upon the release of Kohana 3, one of the first things I wanted to do was install Doctrine. The following is a short tutorial on how to do; and keeping with Kohanas modular style, it will be placed in its own reusable module. Time to begin.
Create the following files/folder:
/modules/doctrine
/modules/doctrine/init.php
/modules/doctrine/classes
/modules/doctrine/classes/doctrine
Inside /modules/doctrine/classes/doctrine drop the official latest build (see here)Â of Doctrine such that Doctrines CHANGELOG, COPYRIGHT etc files etc are inside.
Enter the following into init.php. Note – this may not be the optimal bootstrap file – feel free to tweak to your hearts content.