For some reason people who like CI also tend to like RedBeanPHP, so there is a vast majority of documentation on how to make these two friends work together. Here is a tutorial. Here is also a new redbean-plugin for Code Igniter. Here is another module for RedBeanPHP Integration: HMVCRedBean.
RedBeanPHP Easy ORM for PHP © 2014 Gabor de Mooij and the RedBeanPHP community - Licensed New BSD/GPLv2