CodeIgniter with React
CodeIgniter code is little bit changed to accommodate theming structure. Also there are significant changes done and some are in progress, to support rendering using React JS.
The changes are done in such a way, which put this repository in the state, in which it can be used in multiple ways, the default being rendering the views using React and it supports the default CodeIgniter views also.
How to Start
Just checkout application/controllers/Welcome.php, and call $this->render_view( string $view_name, ? array $vars ); function to render any view.
The view file in react should reside at assets/js/react/components/$view_name.js
What is CodeIgniter
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.
Changelog and New Features
You can find a list of all changes for each release in the user guide change log.
PHP version 5.6 or newer is recommended.
It should work on 5.3.7 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.
The CodeIgniter team would like to thank EllisLab, all the contributors to the CodeIgniter project and you, the CodeIgniter user.