PHPackages                             ise/php-codingstandards-codeigniter - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. ise/php-codingstandards-codeigniter

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

ise/php-codingstandards-codeigniter
===================================

CodeIgniter coding standards for PHPCS

1.0.1(6y ago)26.2k1[1 issues](https://github.com/internalsystemerror/php-codingstandards-codeigniter/issues)[1 PRs](https://github.com/internalsystemerror/php-codingstandards-codeigniter/pulls)BSD-3-ClausePHPPHP &gt;=7.3

Since Aug 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/internalsystemerror/php-codingstandards-codeigniter)[ Packagist](https://packagist.org/packages/ise/php-codingstandards-codeigniter)[ RSS](/packages/ise-php-codingstandards-codeigniter/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

CodeIgniter-for-PHP\_CodeSniffer
================================

[](#codeigniter-for-php_codesniffer)

Original Repos:

- [https://github.com/thomas-ernest/CodeIgniter-for-PHP\_CodeSniffer](https://github.com/thomas-ernest/CodeIgniter-for-PHP_CodeSniffer)
- [https://github.com/ganl/CodeIgniter-for-PHP\_CodeSniffer](https://github.com/ganl/CodeIgniter-for-PHP_CodeSniffer)

Usage:

```
composer require ise/php-codingstandards-codeigniter:^1.0.0

```

Provides sniffs for [PHP\_CodeSniffer 3.x](https://github.com/squizlabs/PHP_CodeSniffer) to check [CodeIgniter3 coding standard](https://codeigniter.com/userguide3/general/styleguide.html).

CI4 can use [CodeIgniter4 standard](https://github.com/bcit-ci/CodeIgniter4-Standard) to check [CodeIgniter4 coding standard](https://codeigniter.com/userguide/general/styleguide.html)

### PHP\_CodeSniffer

[](#php_codesniffer)

[PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) is a set of two PHP scripts; the main phpcs script that tokenizes PHP, JavaScript and CSS files to detect violations of a defined coding standard, and a second phpcbf script to automatically correct coding standard violations.

PHP\_CodeSniffer is an essential development tool that ensures your code remains clean and consistent.

By default sniffs for a few coding convetions are provided like PEAR, Zend, PHPCS and Squiz. **CodeIgniter-for-PHP\_CodeSniffer** is aimed at adding support for CodeIgniter coding convention.

### CodeIgniter coding standard

[](#codeigniter-coding-standard)

[CodeIgniter](https://codeigniter.com/) is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications.

CodeIgniter is developed by EllisLab. The company follows some specific [coding rules](https://codeigniter.com/userguide3/general/styleguide.html) for their developments and for CodeIgniter especially.

Based on PHP\_CodeSniffer **CodeIgniter-for-PHP\_CodeSniffer** helps to validate most of the rules in CodeIgniter coding standard.

Installation
------------

[](#installation)

`git clone https://github.com/ganl/CodeIgniter-for-PHP_CodeSniffer.git`

configure PHP\_CodeSniffer to use CodeIgniter-for-PHP\_CodeSniffer.

`phpcs --config-set installed_paths /path/to/CodeIgniter-for-PHP_CodeSniffer/CodeIgniter`

Check that it is installed type `phpcs -i` you should see a list of installed standards.

Then you can go to you project folder and run `phpcs --standard=CodeIgniter my-file-or-my-directory.php`.

Enable integration in PhpStorm
------------------------------

[](#enable-integration-in-phpstorm)

[![screenshot](https://github.com/ganl/mdAssets/raw/master/img/CodeIgniter3-Standard/code-standard.png)](https://github.com/ganl/mdAssets/raw/master/img/CodeIgniter3-Standard/code-standard.png)[![screenshot](https://github.com/ganl/mdAssets/raw/master/img/CodeIgniter3-Standard/codesniffer-effect.png)](https://github.com/ganl/mdAssets/raw/master/img/CodeIgniter3-Standard/codesniffer-effect.png)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~456 days

Total

2

Last Release

2399d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.3

1.0.1PHP &gt;=7.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/309337?v=4)[Masaaki Takeuchi](/maintainers/ise)[@ise](https://github.com/ise)

---

Top Contributors

[![thomas-ernest](https://avatars.githubusercontent.com/u/479923?v=4)](https://github.com/thomas-ernest "thomas-ernest (30 commits)")[![ganl](https://avatars.githubusercontent.com/u/11937688?v=4)](https://github.com/ganl "ganl (20 commits)")[![michalsn](https://avatars.githubusercontent.com/u/459185?v=4)](https://github.com/michalsn "michalsn (9 commits)")[![jonty-comp](https://avatars.githubusercontent.com/u/1159507?v=4)](https://github.com/jonty-comp "jonty-comp (9 commits)")[![lh84](https://avatars.githubusercontent.com/u/439332?v=4)](https://github.com/lh84 "lh84 (2 commits)")[![slav123](https://avatars.githubusercontent.com/u/185637?v=4)](https://github.com/slav123 "slav123 (2 commits)")[![jacksonj04](https://avatars.githubusercontent.com/u/619082?v=4)](https://github.com/jacksonj04 "jacksonj04 (1 commits)")[![mukthar](https://avatars.githubusercontent.com/u/1025499?v=4)](https://github.com/mukthar "mukthar (1 commits)")[![p4ul](https://avatars.githubusercontent.com/u/71634?v=4)](https://github.com/p4ul "p4ul (1 commits)")[![ROunofF](https://avatars.githubusercontent.com/u/5734058?v=4)](https://github.com/ROunofF "ROunofF (1 commits)")

### Embed Badge

![Health badge](/badges/ise-php-codingstandards-codeigniter/health.svg)

```
[![Health](https://phpackages.com/badges/ise-php-codingstandards-codeigniter/health.svg)](https://phpackages.com/packages/ise-php-codingstandards-codeigniter)
```

###  Alternatives

[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.2M33](/packages/yoast-yoastcs)[mayflower/mo4-coding-standard

PHP CodeSniffer ruleset implementing the MO4 coding standards extending the Symfony coding standards.

17524.8k7](/packages/mayflower-mo4-coding-standard)

PHPackages © 2026

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