Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which is the best PHP ORM for codeigniter? [closed]

Which would be the best ORM for the codeigniter framework. I saw some similar questions but it was too old and the link didn't work. Can anyone help me out with this?

like image 872
Arun Avatar asked Apr 02 '14 15:04

Arun


People also ask

What ORM is used in CodeIgniter?

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.

Does PHP have an ORM?

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.

Is CodeIgniter still used?

CodeIgniter is still exist but the name of this framework has become synonymous with a low-quality solution that is why we advise you Laravel as a better alternative. Both Laravel and CodeIgniter are open-source PHP framework.

Is CodeIgniter a PHP framework?

CodeIgniter is a powerful PHP framework with a very small footprint, built for developers who need a simple and elegant toolkit to create full-featured web applications. Why CodeIgniter?


Video Answer


1 Answers

DataMapper

An Object Relational Mapper written in PHP for CodeIgniter. It is designed to map your Database tables into easy to work with objects, fully aware of the relationships between each other.

Website: http://datamapper.wanwizard.eu/

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. Gas ORM provide a set of methods that will map your database tables and its relationship, into accessible object.

Website: http://gasorm-doc.taufanaditya.com/

Doctrine

Website: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/

NOTE: You must do some workaround to integrate this with CI, try here.

EDIT: Doctrine, integrating with CodeIgniter (working URL). This might not work for all CodeIgniter versions and may require slight adjustments.

like image 64
Ijas Ameenudeen Avatar answered Oct 15 '22 10:10

Ijas Ameenudeen