PHPackages                             florenttorregrosa/phpcs\_drupal - 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. florenttorregrosa/phpcs\_drupal

ActivePhpcodesniffer-standard[Testing &amp; Quality](/categories/testing)

florenttorregrosa/phpcs\_drupal
===============================

Additional rules for Drupal coding standards.

1.0.1(2y ago)025.6k↓55.9%GPL-2.0-or-laterPHPPHP &gt;=7.1

Since Dec 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/FlorentTorregrosa/phpcs-drupal)[ Packagist](https://packagist.org/packages/florenttorregrosa/phpcs_drupal)[ Docs](https://github.com/FlorentTorregrosa/phpcs-drupal)[ RSS](/packages/florenttorregrosa-phpcs-drupal/feed)WikiDiscussions 1.0.x Synced yesterday

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Florent Torregrosa PHPCS Drupal
===============================

[](#florent-torregrosa-phpcs-drupal)

[![Automated tests](https://github.com/FlorentTorregrosa/phpcs-drupal/workflows/Tests/badge.svg)](https://github.com/FlorentTorregrosa/phpcs-drupal/actions)

This library defines rules for [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer).

It is intended to be used in addition of Drupal [Coder](https://www.drupal.org/project/coder)and it does not replace it, only provides additional rules.

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

[](#installation)

Same installation instructions as Drupal [Coder](https://www.drupal.org/project/coder).

Replace the Composer package `drupal/coder` by `florenttorregrosa/phpcs_drupal`in the instructions.

Configuration
-------------

[](#configuration)

Same configuration instructions as Drupal [Coder](https://www.drupal.org/project/coder).

The additional ruleset is named `FlorentTorregrosaDrupalPractice`.

Maintainers
-----------

[](#maintainers)

- [Florent Torregrosa](https://www.drupal.org/u/grimreaper)

Credits
-------

[](#credits)

[Coder](https://www.drupal.org/project/coder) maintainers and contributors, the structure of the package is a modified copy of the work done on Coder.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~273 days

Total

3

Last Release

738d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f81f2e7ca24b170cc74f416183627f57a41af342f850cfa232d5c40e9b688ffd?d=identicon)[FlorentTorregrosa](/maintainers/FlorentTorregrosa)

---

Top Contributors

[![FlorentTorregrosa](https://avatars.githubusercontent.com/u/1962368?v=4)](https://github.com/FlorentTorregrosa "FlorentTorregrosa (4 commits)")

---

Tags

standardsphpcscode review

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/florenttorregrosa-phpcs-drupal/health.svg)

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

###  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)[drupal/coder

Coder is a library to review Drupal code.

3045.9M577](/packages/drupal-coder)[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

601175.5M2.4k](/packages/dealerdirect-phpcodesniffer-composer-installer)[acquia/coding-standards

PHP\_CodeSniffer rules (sniffs) for Acquia coding standards

225.0M35](/packages/acquia-coding-standards)[ec-europa/qa-automation

Extra php codesniffs for QualityAssurance.

11297.1k4](/packages/ec-europa-qa-automation)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

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