PHPackages                             webgriffe/hyva-coding-standard-dist - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. webgriffe/hyva-coding-standard-dist

ActivePhpcodesniffer-standard[PSR &amp; Standards](/categories/psr-standards)

webgriffe/hyva-coding-standard-dist
===================================

Hyva Coding Standard distribution for Webgriffe projects

1.0.11(1mo ago)02OSL-3.0PHPPHP &gt;=8.0

Since Jun 9Pushed 1mo agoCompare

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

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

webgriffe/hyva-coding-standard-dist
===================================

[](#webgriffehyva-coding-standard-dist)

Hyvä Themes PHP\_CodeSniffer coding standard distribution for Webgriffe projects.

Repackages [hyva-themes/hyva-coding-standard](https://github.com/hyva-themes/hyva-coding-standard)with minimal dependencies to avoid version conflicts when installed alongside Magento.

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

[](#installation)

```
composer require --dev webgriffe/hyva-coding-standard-dist
```

Composer will prompt you to allow the `dealerdirect/phpcodesniffer-composer-installer` plugin (one-time), or add it upfront to your project's `composer.json`:

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

The `dealerdirect` plugin automatically registers the `HyvaThemes` and `Magento2` standards in phpcs on every `composer install` / `composer update`.

Usage
-----

[](#usage)

```
vendor/bin/phpcs --standard=HyvaThemes app/code/path/to/check
```

Known issue: hardcoded `installed_paths` in post-install-cmd
------------------------------------------------------------

[](#known-issue-hardcoded-installed_paths-in-post-install-cmd)

If your project's `composer.json` already has a `post-install-cmd` / `post-update-cmd` script that calls `phpcs --config-set installed_paths ...` directly, it runs **after** the `dealerdirect`plugin and overwrites the registered paths. Fix: append `vendor/webgriffe/hyva-coding-standard-dist`to that list:

```
"post-install-cmd": [
    "[ -f vendor/bin/phpcs ] && vendor/bin/phpcs --config-set installed_paths vendor/magento/magento-coding-standard,...,vendor/webgriffe/hyva-coding-standard-dist || true"
]
```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance90

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.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

Unknown

Total

1

Last Release

45d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/29820819a890cfde7227bc1255b0428f4eb5c2f7dd49fb1bb3e5543057ded0a9?d=identicon)[LamasFoker](/maintainers/LamasFoker)

---

Top Contributors

[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")[![lamasfoker](https://avatars.githubusercontent.com/u/12940668?v=4)](https://github.com/lamasfoker "lamasfoker (1 commits)")

### Embed Badge

![Health badge](/badges/webgriffe-hyva-coding-standard-dist/health.svg)

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

###  Alternatives

[slevomat/coding-standard

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

1.5k134.0M2.3k](/packages/slevomat-coding-standard)[humanmade/coding-standards

Human Made Coding Standards

160443.1k60](/packages/humanmade-coding-standards)[drupal/coder

Coder is a library to review Drupal code.

3045.9M584](/packages/drupal-coder)[mayflower/mo4-coding-standard

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

17534.2k7](/packages/mayflower-mo4-coding-standard)[youwe/testing-suite

Contains Youwe's default testing packages for php.

13191.0k8](/packages/youwe-testing-suite)

PHPackages © 2026

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