-
Notifications
You must be signed in to change notification settings - Fork 0
Home
valedaemon edited this page Aug 11, 2011
·
3 revisions
RBK is an implementation of redbean, a fantastic ORM for php, for use with Kohana 3. This package is intended to be a module for Kohana.
First, copy the redbean folder to the modules/ directory.
Second, modify config/redbean.php and change the dbname (located in connectstring), user, and pass to those of your database.
Third, modify bootstrap.php in the application folder and add the following under the modules section:
'redbean' => MODPATH.'redbean', // Redbean ORM
That's it! Now you can call redbean from any controller.
The version of redbean included is 2.0. To utilize another version simply replace the rb.php file located in redbean/vendor.