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

dev-master / 1.0.x-dev 2018-01-13 11:30 UTC

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

Reference

Related Projects for CodeIgniter 3.x