Skip to content

Vlad-Iliescu/ci3_twig_doctrine2

Repository files navigation

#1. Installation

###1.1. Requirements:

  • _Make sure that git is installed on your system. Check the GitHub's Setting Up Git guide here.
  • _Make sure composer is installed. FInd out more for linux here and for windows here.
  • Make sure a database connection is available (only tested with MySQL.. should work with any DB supported by both doctrine and CodeIgniter)

###1.2. Clone repository

Clone the repository by running git clone https://github.com/Vlad-Iliescu/ci3_twig_doctrine2.git on your machine.

###1.3. Install vendor dependencies

run composer install to create the /vendor folder

###1.4. configure framework for dev environment

The basic configuration files needed for the setup are:

./application/config/database.php

./application/config/doctrine.php

./application/config/twig.php

./application/config/php_debug_bar.php

Check out each file on details on how to configure. Note that Doctrine uses CI's ActiveRecord configuration yo create a database connection, so make sure that the database.php file is configured properly. Also checkout CI's user manual on how to configure the database connection.

###1.5. Production setup

#TODO

####Notes

As you may notice, CodeIgniter's default subclass_prefix was change from MY_ to Base_ so take this into account.

About

CodeIgniter 3 + Twig + Doctrine 2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages