PHPackages                             interactivestrategies/drupal-cs - 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. interactivestrategies/drupal-cs

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

interactivestrategies/drupal-cs
===============================

Custom Interactive Strategies code sniffer ruleset for Drupal projects.

3.0.1(2mo ago)02.8k—7.1%GPL-2.0-or-laterPHP

Since Dec 27Pushed 2mo agoCompare

[ Source](https://github.com/InteractiveStrategies/drupal-cs)[ Packagist](https://packagist.org/packages/interactivestrategies/drupal-cs)[ Docs](https://bitbucket.org/interactivestrategies/drupal-cs)[ RSS](/packages/interactivestrategies-drupal-cs/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (3)Dependencies (6)Versions (21)Used By (0)

Interactive Strategies Drupal coding standards
==============================================

[](#interactive-strategies-drupal-coding-standards)

This package defines customized Code Sniffer rules for Drupal projects. It is primarily based on [drupal/coder](https://www.drupal.org/project/coder), with some sniffs excluded and others downgraded to warnings. Some additional sniffs not provided in drupal/coder have also been added.

Installing the ruleset
----------------------

[](#installing-the-ruleset)

Use Composer to install the ruleset and its dependencies as a package:

`composer require --dev interactivestrategies/drupal-cs`

Making the IS rules the default for your project
------------------------------------------------

[](#making-the-is-rules-the-default-for-your-project)

Add a phpcs.xml.dist file in your project with content like this:

```

  ./dist/modules/custom
  ./dist/profiles/custom
  ./dist/themes/custom

```

The tag(s) define what paths the rules should be applied to/within.

Upgrading to 3.x
----------------

[](#upgrading-to-3x)

The interactivestrategies/drupal-cs 3.x branch upgrades from drupal/coder 8.x to 9.x, and PHPCS 3.x to 4.x. Aside from adjustments required by the drupal/coder upgrade, no major changes were made in the ISDrupal ruleset itself.

For projects with a simple PHPCS configuration that simply uses the ISDrupal ruleset, unmodified, you should not have to make any configuration changes.

For projects with ruleset customizations, you may need to double check customized rules against changes in drupal/coder and this package.

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance86

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.6% 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 ~67 days

Total

19

Last Release

75d ago

Major Versions

1.0 → 2.0.02022-12-29

2.x-dev → 3.0.0-rc12026-03-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c7c2eccd15015d0cc19d46618a9a74f86bdc8edafd3630950f141c9c1db6d0c?d=identicon)[bvoynick](/maintainers/bvoynick)

![](https://avatars.githubusercontent.com/u/1266126?v=4)[Paul](/maintainers/paulmeyeris)[@PaulmeyerIS](https://github.com/PaulmeyerIS)

![](https://www.gravatar.com/avatar/f38ea5138418428cfc6208f0fc07beb3d22453679a5e1fd53983d19404de4052?d=identicon)[chrissilich-is](/maintainers/chrissilich-is)

![](https://www.gravatar.com/avatar/26f6018152954d4afb54ecc555b4a82788a83ac4bb7f5b098abc0320172ab69b?d=identicon)[Interactive Strategies](/maintainers/Interactive%20Strategies)

---

Top Contributors

[![benvoynick](https://avatars.githubusercontent.com/u/1313631?v=4)](https://github.com/benvoynick "benvoynick (43 commits)")[![paulis68213](https://avatars.githubusercontent.com/u/72614877?v=4)](https://github.com/paulis68213 "paulis68213 (2 commits)")

---

Tags

drupalphpcs

### Embed Badge

![Health badge](/badges/interactivestrategies-drupal-cs/health.svg)

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

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

Coder is a library to review Drupal code.

3045.9M577](/packages/drupal-coder)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.6M344](/packages/drupal-core-dev)[moxio/php-codesniffer-sniffs

Custom sniffs for PHP\_CodeSniffer

18294.6k4](/packages/moxio-php-codesniffer-sniffs)

PHPackages © 2026

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