PHPackages                             codeigniter4/framework - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. codeigniter4/framework

ActiveProject[Framework](/categories/framework)

codeigniter4/framework
======================

The CodeIgniter framework v4

v4.7.3(2w ago)3683.9M↓10.8%13620MITPHPPHP ^8.2CI failing

Since Nov 30Pushed 2mo ago37 watchersCompare

[ Source](https://github.com/codeigniter4/framework)[ Packagist](https://packagist.org/packages/codeigniter4/framework)[ Docs](https://codeigniter.com)[ RSS](/packages/codeigniter4-framework/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (30)Versions (79)Used By (20)Security (14)

CodeIgniter 4 Framework
=======================

[](#codeigniter-4-framework)

What is CodeIgniter?
--------------------

[](#what-is-codeigniter)

CodeIgniter is a PHP full-stack web framework that is light, fast, flexible and secure. More information can be found at the [official site](https://codeigniter.com).

This repository holds the distributable version of the framework. It has been built from the [development repository](https://github.com/codeigniter4/CodeIgniter4).

More information about the plans for version 4 can be found in [CodeIgniter 4](https://forum.codeigniter.com/forumdisplay.php?fid=28) on the forums.

You can read the [user guide](https://codeigniter.com/user_guide/)corresponding to the latest version of the framework.

Important Change with index.php
-------------------------------

[](#important-change-with-indexphp)

`index.php` is no longer in the root of the project! It has been moved inside the *public* folder, for better security and separation of components.

This means that you should configure your web server to "point" to your project's *public* folder, and not to the project root. A better practice would be to configure a virtual host to point there. A poor practice would be to point your web server to the project root and expect to enter *public/...*, as the rest of your logic and the framework are exposed.

**Please** read the user guide for a better explanation of how CI4 works!

Repository Management
---------------------

[](#repository-management)

We use GitHub issues, in our main repository, to track **BUGS** and to track approved **DEVELOPMENT** work packages. We use our [forum](http://forum.codeigniter.com) to provide SUPPORT and to discuss FEATURE REQUESTS.

This repository is a "distribution" one, built by our release preparation script. Problems with it can be raised on our forum, or as issues in the main repository.

Contributing
------------

[](#contributing)

We welcome contributions from the community.

Please read the [*Contributing to CodeIgniter*](https://github.com/codeigniter4/CodeIgniter4/blob/develop/CONTRIBUTING.md) section in the development repository.

Server Requirements
-------------------

[](#server-requirements)

PHP version 8.2 or higher is required, with the following extensions installed:

- [intl](http://php.net/manual/en/intl.requirements.php)
- [mbstring](http://php.net/manual/en/mbstring.installation.php)

Warning

- The end of life date for PHP 7.4 was November 28, 2022.
- The end of life date for PHP 8.0 was November 26, 2023.
- The end of life date for PHP 8.1 was December 31, 2025.
- If you are still using below PHP 8.2, you should upgrade immediately.
- The end of life date for PHP 8.2 will be December 31, 2026.

Additionally, make sure that the following extensions are enabled in your PHP:

- json (enabled by default - don't turn it off)
- [mysqlnd](http://php.net/manual/en/mysqlnd.install.php) if you plan to use MySQL
- [libcurl](http://php.net/manual/en/curl.requirements.php) if you plan to use the HTTP\\CURLRequest library

###  Health Score

76

—

ExcellentBetter than 100% of packages

Maintenance90

Actively maintained with recent releases

Popularity65

Solid adoption and visibility

Community49

Growing community involvement

Maturity89

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 72.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~35 days

Recently: every ~27 days

Total

78

Last Release

18d ago

PHP version history (8 changes)v4.0.0-alpha.3PHP &gt;=7.1

v4.0.0-alpha.5PHP &gt;=7.2

v4.1.0PHP ^7.3||^8.0

v4.0.5PHP ^7.2 || ^8.0

v4.1.4PHP ^7.3 || ^8.0

v4.2.0PHP ^7.4 || ^8.0

v4.5.0PHP ^8.1

v4.7.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/65f693f45781e767ed8557b776fd775309e7a262629892b99cf38462931e9b26?d=identicon)[lonnieezell](/maintainers/lonnieezell)

![](https://www.gravatar.com/avatar/5ebe908b4fe73807ecdd9f88733342199c9991b7de800329f5b2b787c8210d62?d=identicon)[MGatner](/maintainers/MGatner)

![](https://avatars.githubusercontent.com/u/3203951?v=4)[Project lead, CodeIgniter](/maintainers/jim-parry)[@jim-parry](https://github.com/jim-parry)

---

Top Contributors

[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (63 commits)")[![jim-parry](https://avatars.githubusercontent.com/u/3203951?v=4)](https://github.com/jim-parry "jim-parry (15 commits)")[![lonnieezell](https://avatars.githubusercontent.com/u/51931?v=4)](https://github.com/lonnieezell "lonnieezell (6 commits)")[![MGatner](https://avatars.githubusercontent.com/u/17572847?v=4)](https://github.com/MGatner "MGatner (3 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/codeigniter4-framework/health.svg)

```
[![Health](https://phpackages.com/badges/codeigniter4-framework/health.svg)](https://phpackages.com/packages/codeigniter4-framework)
```

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k86.9M2.2k](/packages/symfony-symfony)[cakephp/cakephp

The CakePHP framework

8.8k19.1M1.7k](/packages/cakephp-cakephp)[magento/community-edition

Magento 2 (Open Source)

12.1k53.0k12](/packages/magento-community-edition)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k11](/packages/tempest-framework)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21764.8M1.6k](/packages/drupal-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
