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(4mo ago)03.3k↑48.3%GPL-2.0-or-laterPHP

Since Dec 27Pushed 1mo 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 2w 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

47

—

FairBetter than 93% of packages

Maintenance85

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.7% 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

120d 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 (44 commits)")[![heitoralthmann](https://avatars.githubusercontent.com/u/1569874?v=4)](https://github.com/heitoralthmann "heitoralthmann (2 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.5k137.8M2.5k](/packages/slevomat-coding-standard)[acquia/coding-standards

PHP\_CodeSniffer rules (sniffs) for Acquia coding standards

205.1M38](/packages/acquia-coding-standards)[drupal/core-dev

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

2023.2M367](/packages/drupal-core-dev)[drupal/coder

Coder is a library to review Drupal code.

3046.8M629](/packages/drupal-coder)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

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

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

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

PHPackages © 2026

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