PHPackages                             specsnl/code-style - 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. specsnl/code-style

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

specsnl/code-style
==================

An PHP\_CodeSniffer codestyle package.

5.0.1(3mo ago)0271↓15.9%[2 PRs](https://github.com/specsnl/code-style/pulls)MITDockerfilePHP ^7.4 || ^8.0CI failing

Since Feb 25Pushed 3w ago2 watchersCompare

[ Source](https://github.com/specsnl/code-style)[ Packagist](https://packagist.org/packages/specsnl/code-style)[ RSS](/packages/specsnl-code-style/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (8)Dependencies (3)Versions (13)Used By (0)

specsnl/code-style
==================

[](#specsnlcode-style)

An ECS (Easy Coding Standards) codestyle package.

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

[](#installation)

You can install the package via composer:

```
composer require --dev specsnl/code-style
```

Usage
-----

[](#usage)

Add a `phpcs.xml` file to the root of your project. The below config example is for a Laravel project:

`phpcs.yml`:

```

    A Laravel project coding standard

    .
    vendor
    node_modules
    .phpstan.cache
    .phpunit.cache
    bootstrap/cache
    storage/framework
    resources/css
    resources/js
    coverage

```

Using the PHPCSStandards plugin
-------------------------------

[](#using-the-phpcsstandards-plugin)

The above config assumes you allowed installing the [PHP\_CodeSniffer](https://github.com/PHPCSStandards/composer-installer) plugin. Composer will prompt you to install it when you install this package. If you didn't, you can allow it by adding the following to your composer.json:

```
{
    "config": {
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true
        }
    }
}
```

Annotated ruleset
-----------------

[](#annotated-ruleset)

The [annotated ruleset](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset).

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance90

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 89.3% 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 ~161 days

Recently: every ~152 days

Total

8

Last Release

91d ago

Major Versions

1.0.0 → 2.0.02024-07-29

2.0.0 → 3.0.02025-03-19

3.0.0 → 4.0.02025-11-16

4.0.0 → 5.0.02026-03-31

### Community

Maintainers

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

---

Top Contributors

[![Ilyes512](https://avatars.githubusercontent.com/u/2445415?v=4)](https://github.com/Ilyes512 "Ilyes512 (67 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")

---

Tags

phpcsdevCode styleCodestyle

### Embed Badge

![Health badge](/badges/specsnl-code-style/health.svg)

```
[![Health](https://phpackages.com/badges/specsnl-code-style/health.svg)](https://phpackages.com/packages/specsnl-code-style)
```

###  Alternatives

[slevomat/coding-standard

Slevomat Coding Standard for PHP\_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.

1.5k130.4M2.1k](/packages/slevomat-coding-standard)[wp-cli/wp-cli-tests

WP-CLI testing framework

423.0M131](/packages/wp-cli-wp-cli-tests)[acquia/coding-standards

PHP\_CodeSniffer rules (sniffs) for Acquia coding standards

204.9M33](/packages/acquia-coding-standards)

PHPackages © 2026

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