What is the best ORM to use with codeigniter (php framework) and why?
Gas ORM. A lightweight and easy-to-use ORM for CodeIgniter. Gas was built specifically for CodeIgniter app. It uses CodeIgniter Database packages, a powerful DBAL which support numerous DB drivers.
The ORM Model validation integrates CodeIgniter Form Validation that provides consistent and smooth way to deal with model data validation.
The Doctrine Project is the home to several PHP libraries primarily focused on database storage and object mapping. The core projects are the Object Relational Mapper (ORM) and the Database Abstraction Layer (DBAL) it is built upon.
As DrColossos suggests, Doctrine is a good and powerful ORM which can be fairly easily plugged into a CI application. For CodeIgniter 2 & Doctrine 2, you can use this tutorial on Setting up CodeIgniter 2 with Doctrine 2 the Right Way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With