PHPackages                             eviweb/fuelphp-phpcs - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. eviweb/fuelphp-phpcs

ActiveLibrary[Testing &amp; Quality](/categories/testing)

eviweb/fuelphp-phpcs
====================

PHP Code Sniffer standard for Fuel PHP with dedicated CLI

v1.0.8(7y ago)2750.4k↑30%13[1 issues](https://github.com/eviweb/fuelphp-phpcs/issues)[1 PRs](https://github.com/eviweb/fuelphp-phpcs/pulls)MITPHPPHP &gt;=5.3.3CI failing

Since Jun 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/eviweb/fuelphp-phpcs)[ Packagist](https://packagist.org/packages/eviweb/fuelphp-phpcs)[ RSS](/packages/eviweb-fuelphp-phpcs/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (6)Used By (0)

PHP\_CodeSniffer Fuel PHP Standard
==================================

[](#php_codesniffer-fuel-php-standard)

PHP Code Sniffer rules that cover a large part of the \[Fuel PHP coding standards\] ([http://docs.fuelphp.com/general/coding\_standards.html](http://docs.fuelphp.com/general/coding_standards.html) "Fuel PHP Coding Standards").

[![Build Status](https://camo.githubusercontent.com/328cc08f8d49fb46514e46fe92c97fc2f60dcea06b0a24c93eea49e3d91d4258/68747470733a2f2f7472617669732d63692e6f72672f6576697765622f6675656c7068702d70687063732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/eviweb/fuelphp-phpcs)

How to install
--------------

[](#how-to-install)

### The composer way (since v1.0.4)

[](#the-composer-way-since-v104)

run `composer require --dev eviweb/fuelphp-phpcs:~1` in your fuelphp project.
It will automatically install PHP CodeSniffer using composer.

### The old way

[](#the-old-way)

#### Install (Linux Only)

[](#install-linux-only)

1. clone the project `git clone https://github.com/eviweb/fuelphp-phpcs.git`
2. change directory to ./fuelphp-phpcs `cd fuelphp-phpcs`
3. run installer with root privileges `sudo ./install.sh`

#### Uninstall (Linux Only)

[](#uninstall-linux-only)

1. change directory to ./fuelphp-phpcs `cd fuelphp-phpcs`
2. run uninstaller with root privileges `sudo ./uninstall.sh`

How to use
----------

[](#how-to-use)

### Using the fuelphpcs command (since v1.0.4)

[](#using-the-fuelphpcs-command-since-v104)

Assuming FuelPHPCS was installed inside `./fuel/vendor` using composer and the `bin-dir` is `./fuel/vendor/bin`.
Run `./fuel/vendor/bin/fuelphpcs PROJECT_TO_SNIFF_DIRECTORY` where *PROJECT\_TO\_SNIFF\_DIRECTORY* is your fuel php project directory.

### The old way

[](#the-old-way-1)

run `phpcs --standard=FuelPHP PROJECT_TO_SNIFF_DIRECTORY` where *PROJECT\_TO\_SNIFF\_DIRECTORY* is your fuel php project directory.

**BE AWARE not to use --tab-width phpcs option with another value than 0, this would disable tabs recognition !**

Requirements
------------

[](#requirements)

Please note that this package works with **PHP Code Sniffer version 2.9.x**.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 95.5% 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 ~315 days

Total

5

Last Release

2782d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3031a8d556c5dd41f5526cbf74f68ff2d522ad84162f2b8f36691b9f62d61d7c?d=identicon)[eviweb](/maintainers/eviweb)

---

Top Contributors

[![eviweb](https://avatars.githubusercontent.com/u/1310382?v=4)](https://github.com/eviweb "eviweb (84 commits)")[![iturgeon](https://avatars.githubusercontent.com/u/73480?v=4)](https://github.com/iturgeon "iturgeon (2 commits)")[![jaymoulin](https://avatars.githubusercontent.com/u/14236493?v=4)](https://github.com/jaymoulin "jaymoulin (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/eviweb-fuelphp-phpcs/health.svg)

```
[![Health](https://phpackages.com/badges/eviweb-fuelphp-phpcs/health.svg)](https://phpackages.com/packages/eviweb-fuelphp-phpcs)
```

###  Alternatives

[slevomat/coding-standard

Slevomat Coding Standard for PHP\_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.

1.5k134.0M2.3k](/packages/slevomat-coding-standard)[fig-r/psr2r-sniffer

Code-Sniffer, Auto-Fixer and Tokenizer for PSR2-R

331.3M153](/packages/fig-r-psr2r-sniffer)[youwe/testing-suite

Contains Youwe's default testing packages for php.

13191.0k8](/packages/youwe-testing-suite)[hyva-themes/hyva-coding-standard

A set of Hyvä specific PHP CodeSniffer rules extending the Magento Coding Standard

2927.5k](/packages/hyva-themes-hyva-coding-standard)

PHPackages © 2026

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