Hi, this is a pet project that utilized Codeigniter and Doctrine
It uses Object Relational Mapping to map your model to database's tables. For simplicity, it makes developer writes less code in querying database. Please refer Doctrine Official Website for more information.
This project aims to provide brief introduction on how to use Doctrine in CI project.
This project provides a starting point for you to explore the features of Doctrine.
To fully experience the advantages of using Doctrine, it is recommended to study other more
sophisticated frameworks like Symfony or Laravel.
1. Download the files from this repository.
2. Update the database configuration inside the application/config/database.php
3. Run "composer update" to download all dependencies
4. Run "bower install" to install bootstrap / jquery
5. Run "php application/doctrine.php org:scheme-tool:create" to generate the tables in database.
There are some examples inside the controllers folder. Kindly refer these file to see how it's work.