Skip to content
Starter Code for using React JS with CodeIgniter along with support for themes
PHP HTML Python JavaScript Makefile CSS Shell
Branch: develop
Clone or download
Pull request Compare This branch is 38 commits ahead, 588 commits behind bcit-ci:develop.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
application Merge branch 'master' of github.com:kala725/CodeIgniter-with-React in… Apr 26, 2017
assets
system Fix typo in serializeval() Apr 10, 2017
tests
user_guide_src
.editorconfig [ci skip] Merge pull request bcit-ci#4970 from arysom/develop Jan 5, 2017
.gitattributes Renaming folders to directories :) May 4, 2015
.gitignore
.htaccess
.travis.yml Merge branch '3.1-stable' into develop Mar 24, 2017
DCO.txt Adding contribution guidelines to user guide, including new Developer… Jul 2, 2012
build-release.sh [ci skip] Add download link check to build-release.sh Oct 28, 2016
composer.json Fix byte-safety issues & actually test for them Jan 19, 2017
contributing.md
index.php Update copyright data to 2017 Dec 31, 2016
license.txt Update copyright data to 2017 Jan 3, 2017
phpdoc.dist.xml
readme.rst Update readme.rst Jan 29, 2019

readme.rst

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.

Release Information

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.

Server Requirements

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.

Installation

Please see the installation section of the CodeIgniter User Guide.

License

Please see the license agreement.

Resources

Report security issues to our Security Panel or via our page on HackerOne, thank you.

Acknowledgement

The CodeIgniter team would like to thank EllisLab, all the contributors to the CodeIgniter project and you, the CodeIgniter user.

You can’t perform that action at this time.