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

ActivePhpcodesniffer-standard

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

Custom Interactive Strategies code sniffer ruleset for Drupal projects.

2.0.13(9mo ago)02.1k↓50%[1 PRs](https://github.com/InteractiveStrategies/drupal-cs/pulls)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 1mo ago

READMEChangelog (1)Dependencies (3)Versions (18)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.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance74

Regular maintenance activity

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

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

Recently: every ~109 days

Total

17

Last Release

55d 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://www.gravatar.com/avatar/2393fc3ccc91c8258d1370817aaff2d1f99dfb7bff9b3051aad2f95377f607d1?d=identicon)[paulmeyeris](/maintainers/paulmeyeris)

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

---

Top Contributors

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

---

Tags

phpcs

### 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.5k123.5M1.8k](/packages/slevomat-coding-standard)[drupal/coder

Coder is a library to review Drupal code.

3043.6M461](/packages/drupal-coder)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[acquia/coding-standards

PHP\_CodeSniffer rules (sniffs) for Acquia coding standards

214.8M28](/packages/acquia-coding-standards)[mayflower/mo4-coding-standard

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

17508.3k5](/packages/mayflower-mo4-coding-standard)[spryker/code-sniffer

Spryker Code Sniffer Standards

374.1M2.3k](/packages/spryker-code-sniffer)

PHPackages © 2026

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