This repository use to give example integration between CodeIgniter 3 and Doctrine ORM.
- Development : 127.0.0.3
- Testing : 127.0.0.4
- Production : learnci.io
- Integrating CodeIgniter 3 with Doctrine ORM
- Load Doctrine library every load Controller
- Example of using Doctrine with CodeIgniter
- Getting Started using Doctrine
- Codeigniter RestServer Library
- Example of using CodeIgniter RestServer Library
- How To Handling Request RestServer
- RESTful API Design Implementation using CodeIgniter
- REST API Best Practice
- RESTful Service with CodeIgniter Part 1
- RESTful Service with CodeIgniter Part 2
- http://127.0.0.3/Example/users
- http://127.0.0.3/Example/user?id=1
- http://127.0.0.3/Example/user?id=3&format=xml
- http://127.0.0.3/Example/user?id=3&format=csv
- Integrating CodeIgniter and Doctrine ORM
Visit http://localhost/app/Template, it will be redirect to http://localhost/app/Template#/home
Example of Apache Configuration :
` <VirtualHost 127.0.0.3:80>
ServerName learnci.io/ #ServerAlias test.learnci.io ServerAdmin admin@learnci.io DocumentRoot /home/fadlika/Documents/learncodeigniter #DocumentRoot /var/www/learncodeigniter
<Directory /home/fadlika/Documents/learncodeigniter> #<Directory /var/www/learncodeigniter>
# This relaxes Apache security settings. AllowOverride all
# MultiViews must be turned off. Options -MultiViews Allow from all # Uncomment this if you're on Apache >= 2.4: Require all granted PassengerBufferResponse off
</Directory>
ErrorLog
${APACHE_LOG_DIR}/error.log CustomLog $ {APACHE_LOG_DIR}/access.log combined #Include conf-available/serve-cgi-bin.conf
</VirtualHost>
- <VirtualHost 127.0.0.4:80>
ServerName learnci2.io/ ServerAdmin admin@learnci2.io DocumentRoot /home/fadlika/Documents/learncodeigniter #DocumentRoot /var/www/learncodeigniter
<Directory /home/fadlika/Documents/learncodeigniter> #<Directory /var/www/learncodeigniter>
# This relaxes Apache security settings. AllowOverride all
# MultiViews must be turned off. Options -MultiViews Allow from all # Uncomment this if you're on Apache >= 2.4: Require all granted PassengerBufferResponse off
</Directory>
ErrorLog
${APACHE_LOG_DIR}/error.log CustomLog $ {APACHE_LOG_DIR}/access.log combined #Include conf-available/serve-cgi-bin.conf
</VirtualHost>
CodeIgniter is an Application Development Framework - a toolkit - for people who build web sites using PHP. Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. CodeIgniter lets you creatively focus on your project by minimizing the amount of code needed for a given task.
This repo contains in-development code for future releases. To download the latest stable release please visit the CodeIgniter Downloads page.
You can find a list of all changes for each release in the user guide change log.
PHP version 5.4 or newer is recommended.
It should work on 5.2.4 as well, but we strongly advise you NOT to run such old versions of PHP, because of potential security and performance issues, as well as missing features.
Please see the installation section of the CodeIgniter User Guide.
Please see the license agreement.
Report security issues to our Security Panel, thank you.
The CodeIgniter team would like to thank EllisLab, all the contributors to the CodeIgniter project and you, the CodeIgniter user.