CodeIgniter is an open-source software rapid development web framework, for use in building dynamic web sites with PHP.
Codeigniter is a lightweight MVC architecture based PHP framework.
This is popular for its performance and zero configuration. Codeigniter has beautiful documentation. Since CI is the most flexible PHP MVC framework, people love to work on this.
CodeIgniter is loosely based on the popular model–view–controller (MVC) development pattern. While controller classes are a necessary part of development under CodeIgniter, models and views are optional.
CodeIgniter can be also modified to use the Hierarchical Model View Controller (HMVC) which allows the developers to maintain modular grouping of Controller, Models and View arranged in a sub-directory format.
Till now the biggest release of CodeIgniter is Codeigniter 4.0 or CI 4.0. A final release for the rewritten CodeIgniter 4.0 is live.
The first public version of CodeIgniter was released by EllisLab on February 28, 2006.
Developers all over the world were waiting for its release and on 24 Feb 2020, It was released.
Waiting time is over now the alpha is released by Code Igniter officials finally, last month.
The first stable version of CI 4 is CodeIgniter 4.0.0.
Key Features of Code Igniter 4.x:
- High Performance MVC framework
- Minimal Configuration as the earlier versions
- HMVC Structure
- Based on PHP 7.2 and ahead
- An MVC framework with a small footprint
- Highly secured and inbuilt CSRF protection for HTTP requests
Server Requirements for Code Igniter 4.x
PHP version 7.2 or higher is required, with the following extensions installed:
- libcurl if you plan to use the HTTP\CURLRequest library
Additionally, make sure that the following extensions are enabled in your PHP:
- json (enabled by default – don’t turn it off)
- xml (enabled by default – don’t turn it off)