PHPackages                             dekode/coding-standards - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dekode/coding-standards

ActivePhpcodesniffer-standard[Utility &amp; Helpers](/categories/utility)

dekode/coding-standards
=======================

Dekode Coding Standards

6.6.0(2w ago)6204.9k↓64.9%15MITPHPCI passing

Since Mar 15Pushed 2w ago7 watchersCompare

[ Source](https://github.com/DekodeInteraktiv/coding-standards)[ Packagist](https://packagist.org/packages/dekode/coding-standards)[ RSS](/packages/dekode-coding-standards/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (10)Dependencies (10)Versions (24)Used By (5)

Dekode Coding Standards
=======================

[](#dekode-coding-standards)

Installation and usage
----------------------

[](#installation-and-usage)

```
$ composer require --dev dekode/coding-standards
```

### Add lint script to `composer.json`

[](#add-lint-script-to-composerjson)

```
"scripts": {
  "lint": [
    "./vendor/bin/phpcs ."
  ]
}
```

### Configuration File

[](#configuration-file)

Create a `phpcs.xml.dist` file in your project root with the following contents. (Update required PHP version and text\_domain accordingly.)

```

	.

```

### DekodeNoAlignment ruleset

[](#dekodenoalignment-ruleset)

`DekodeNoAlignment` extends `Dekode` with additional strictness. Use it in place of `Dekode` for projects that want tighter formatting enforcement:

- Adds a custom `DekodeNoAlignment.Formatting.DisallowDoubleSpace` sniff: disallows two or more consecutive spaces on a line (outside indentation) — auto-fixable via `phpcbf`
- Suppresses noisy warnings for value-alignment (`MultipleStatementAlignment`, `DoubleArrowNotAligned`)
- Suppresses `Squiz.Commenting.FunctionComment.SpacingAfterParamType`

```

	.

```

###  Health Score

61

—

FairBetter than 99% of packages

Maintenance96

Actively maintained with recent releases

Popularity37

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 81.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 ~139 days

Recently: every ~126 days

Total

23

Last Release

20d ago

Major Versions

1.2.0 → 2.0.02018-12-10

2.0.0 → 3.0.02019-01-17

3.4.0 → 4.0.02020-10-26

4.0.0 → 5.0.02022-12-06

5.0.0 → 6.0.02023-08-29

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/134094556?v=4)[dekode](/maintainers/dekode)[@Dekode](https://github.com/Dekode)

---

Top Contributors

[![stian-overasen](https://avatars.githubusercontent.com/u/16900754?v=4)](https://github.com/stian-overasen "stian-overasen (31 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![pdewouters](https://avatars.githubusercontent.com/u/30460?v=4)](https://github.com/pdewouters "pdewouters (2 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")[![jrfnl](https://avatars.githubusercontent.com/u/663378?v=4)](https://github.com/jrfnl "jrfnl (1 commits)")[![olethomas](https://avatars.githubusercontent.com/u/3436672?v=4)](https://github.com/olethomas "olethomas (1 commits)")

---

Tags

dekodeproducteslint-pluginphpcswordpressstandardsphpcswordpressstatic analysisCode stylecoding-standardscoding-stylecode standardsPHP standardsWordPress standardsDekodeInteraktiv

### Embed Badge

![Health badge](/badges/dekode-coding-standards/health.svg)

```
[![Health](https://phpackages.com/badges/dekode-coding-standards/health.svg)](https://phpackages.com/packages/dekode-coding-standards)
```

###  Alternatives

[inpsyde/php-coding-standards

PHP 7.4+ coding standards for Syde WordPress projects.

101173.9k50](/packages/inpsyde-php-coding-standards)[humanmade/coding-standards

Human Made Coding Standards

161450.0k66](/packages/humanmade-coding-standards)[woocommerce/woocommerce-sniffs

WooCommerce sniffs

497.7M65](/packages/woocommerce-woocommerce-sniffs)[infinum/eightshift-coding-standards

Eightshift WordPress Coding Standards

1792.8k7](/packages/infinum-eightshift-coding-standards)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.2M36](/packages/yoast-yoastcs)[phpcsstandards/phpcsutils

A suite of utility functions for use with PHP\_CodeSniffer

6342.7M106](/packages/phpcsstandards-phpcsutils)

PHPackages © 2026

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