PHPackages                             naopusyu/phpcs-custom-rules - 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. naopusyu/phpcs-custom-rules

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

naopusyu/phpcs-custom-rules
===========================

Custom rules for PHP\_CodeSniffer

0.6.0(3mo ago)01.6k1MITPHP

Since May 18Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/naopusyu/phpcs-custom-rules)[ Packagist](https://packagist.org/packages/naopusyu/phpcs-custom-rules)[ RSS](/packages/naopusyu-phpcs-custom-rules/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (4)Versions (7)Used By (0)

phpcs-custom-rules
==================

[](#phpcs-custom-rules)

[PHP\_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer/)のカスタムルールを作ってみた

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

[](#installation)

```
composer req naopusyu/phpcs-custom-rules --dev

```

Usage
-----

[](#usage)

Create `phpcs.xml` file.

```

```

Then run the phpcs command.

```
vendor/bin/phpcs src

```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance79

Regular maintenance activity

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 96.4% 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 ~205 days

Recently: every ~256 days

Total

6

Last Release

113d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/97194355?v=4)[Sunao Yada](/maintainers/naopusyu)[@naopusyu](https://github.com/naopusyu)

---

Top Contributors

[![naopusyu](https://avatars.githubusercontent.com/u/97194355?v=4)](https://github.com/naopusyu "naopusyu (27 commits)")[![rodrigoprimo](https://avatars.githubusercontent.com/u/77215?v=4)](https://github.com/rodrigoprimo "rodrigoprimo (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/naopusyu-phpcs-custom-rules/health.svg)

```
[![Health](https://phpackages.com/badges/naopusyu-phpcs-custom-rules/health.svg)](https://phpackages.com/packages/naopusyu-phpcs-custom-rules)
```

###  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)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1882.3M44](/packages/dereuromark-cakephp-ide-helper)[fig-r/psr2r-sniffer

Code-Sniffer, Auto-Fixer and Tokenizer for PSR2-R

331.3M153](/packages/fig-r-psr2r-sniffer)[youwe/testing-suite

Contains Youwe's default testing packages for php.

13191.0k8](/packages/youwe-testing-suite)[hyva-themes/hyva-coding-standard

A set of Hyvä specific PHP CodeSniffer rules extending the Magento Coding Standard

2927.5k](/packages/hyva-themes-hyva-coding-standard)

PHPackages © 2026

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