kenjis / codeigniter-doctrine
A simple Doctrine integration for CodeIgniter 3.x
Installs: 8 407
Dependents: 0
Suggesters: 4
Security: 0
Stars: 24
Watchers: 6
Forks: 12
Open Issues: 2
Type:codeigniter-library
Requires
- php: >=5.4.0
- composer/installers: ~1.0
- doctrine/orm: ~2.5
Requires (Dev)
- codeigniter/framework: ~3.0
This package is auto-updated.
Last update: 2024-11-23 13:02:01 UTC
README
This package provides simple Doctrine integration for CodeIgniter 3.x.
Folder Structure
codeigniter/
└── application/
└── libraries/
└── codeigniter-doctrine/
└── libraries/
└── Doctrine.php
Requirements
- PHP 5.4.0 or later
- Composer
Installation
Install this project with Composer:
$ cd /path/to/codeigniter/
$ composer require kenjis/codeigniter-doctrine:1.0.x@dev
Usage
Load Doctrine library:
$this->load->library('Doctrine');
Use the entity manager:
$em = $this->doctrine->em;
Use doctrine
command:
$ cd /path/to/codeigniter/
$ vendor/bin/doctrine