-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
17 lines (9 loc) · 711 Bytes
/
README
File metadata and controls
17 lines (9 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
RBK is an implementation of [redbean](http://redbeanphp.com), 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.