PHPackages                             pixelperfectat/coding-standard - 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. pixelperfectat/coding-standard

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

pixelperfectat/coding-standard
==============================

PixelPerfect shared Magento module coding standard: phpcs ruleset (extends Magento2), phpstan config, and the pinned QA toolchain.

0.1.3(1mo ago)0161[1 PRs](https://github.com/pixelperfectat/coding-standard/pulls)4proprietaryPHP ^8.3

Since Jul 1Pushed 1mo agoCompare

[ Source](https://github.com/pixelperfectat/coding-standard)[ Packagist](https://packagist.org/packages/pixelperfectat/coding-standard)[ RSS](/packages/pixelperfectat-coding-standard/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (9)Versions (6)Used By (4)

pixelperfectat/coding-standard
==============================

[](#pixelperfectatcoding-standard)

Shared coding standard + QA toolchain for PixelPerfect Magento modules. Bump this package (one place) and every module inherits the change.

What it provides
----------------

[](#what-it-provides)

- **`PixelPerfect` phpcs ruleset** (`PixelPerfect/ruleset.xml`) — extends `Magento2`, with the minimal-comments tuning (no forced `@param`/`@return` docblock noise).
- **Shared phpstan config** (`phpstan.neon`) — level 6 + the `bitexpert/phpstan-magento`bootstrap, resolved via `%currentWorkingDirectory%` so it works whether the module is the composer root (CI) or a local clone.
- **The pinned QA tools** as dependencies (phpcs, magento-coding-standard, phpstan, bitexpert/phpstan-magento, parallel-lint, composer-normalize) — so consuming modules only add this one package (+ their own `phpunit`).

Use in a module
---------------

[](#use-in-a-module)

`composer.json`:

```
"require-dev": { "pixelperfectat/coding-standard": "^0.1.0", "phpunit/phpunit": "^9.6" }
```

`phpcs.xml`:

```
.
  */Test/**/vendor/*
  */docs/**/view/*

```

`phpstan.neon.dist`:

```
includes:
    - vendor/pixelperfectat/coding-standard/phpstan.neon
parameters:
    paths: [ ... module dirs ... ]
    # module-specific excludePaths / ignoreErrors here
```

Git hooks (captainhook)
-----------------------

[](#git-hooks-captainhook)

This package ships a `captainhook.json` with two hooks. After installing this package in a consuming module, activate the hooks once with:

```
vendor/bin/captainhook install -f -c vendor/pixelperfectat/coding-standard/captainhook.json
```

### commit-msg

[](#commit-msg)

1. **Keyword format** — the subject line must start with one of: `Add`, `Implement`, `Introduce`, `Update`, `Refactor`, `Improve`, `Change`, `Bump`, `Deprecate`, `Remove`, `Delete`, `Drop`, `Fix`, `Correct`, `Resolve`, `Security`(optionally preceded by an issue reference in brackets, e.g. `[PROJ-123] Fix …`).
2. **AI attribution rejection** — rejects commit messages that contain `Co-Authored-By` or `Generated with` referencing Claude, Gemini, Copilot, or ChatGPT.

### pre-commit

[](#pre-commit)

Runs `composer lint` and `composer cs` before every commit to catch lint/style errors early.

---

Consumed via a git VCS `repositories` entry (auth `CI_JOB_TOKEN`) until the GitLab Composer Registry is set up.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance90

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity42

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

Total

4

Last Release

48d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9df00e858fe20fc93f406cf4ec649ed6a2c91aac6f021047b2ec273ad465e3b7?d=identicon)[pixelhed](/maintainers/pixelhed)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/pixelperfectat-coding-standard/health.svg)

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

###  Alternatives

[wp-cli/wp-cli-tests

WP-CLI testing framework

423.3M150](/packages/wp-cli-wp-cli-tests)[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)[youwe/testing-suite

Contains Youwe's default testing packages for php.

13195.6k8](/packages/youwe-testing-suite)[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)[ec-europa/toolkit

Toolkit packaged for Drupal projects based on Robo.

39255.4k37](/packages/ec-europa-toolkit)[humanmade/coding-standards

Human Made Coding Standards

161450.0k66](/packages/humanmade-coding-standards)

PHPackages © 2026

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