Skip to content

Starter Code for using React JS with CodeIgniter along with support for themes

License

Notifications You must be signed in to change notification settings

kala725/CodeIgniter-with-React

 
 

Repository files navigation

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.

About

Starter Code for using React JS with CodeIgniter along with support for themes

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • PHP 97.2%
  • HTML 1.3%
  • Python 0.6%
  • JavaScript 0.4%
  • Makefile 0.2%
  • CSS 0.2%
  • Shell 0.1%