Skip to content
valedaemon edited this page Aug 11, 2011 · 3 revisions

RBK is an implementation of <a href="http://www.redbeanphp.com&quot;&gt;redbean&lt;/a>, a fantastic ORM for php, for use with Kohana 3. This package is intended to be a module for Kohana.

Installation

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.

Notes

The version of redbean included is 2.0. To utilize another version simply replace the rb.php file located in redbean/vendor.

Clone this wiki locally