PHPackages                             hanaboso/php-check-utils - 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. hanaboso/php-check-utils

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hanaboso/php-check-utils
========================

Utils for php development - CodeSniffer, PhpStan, PhpUnit, PhpStorm

2.0.1(1mo ago)031.1k↓25%1[3 PRs](https://github.com/hanaboso/php-check-utils/pulls)14MITPHPPHP ^8.4

Since Jan 16Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/hanaboso/php-check-utils)[ Packagist](https://packagist.org/packages/hanaboso/php-check-utils)[ RSS](/packages/hanaboso-php-check-utils/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (21)Versions (143)Used By (14)

Hanaboso - PHP CHECK UTILS
==========================

[](#hanaboso---php-check-utils)

[![Build Status](https://camo.githubusercontent.com/10c073846695e33a483e2ac70af414d2f2be910e22a8e45245a89e70147756b7/68747470733a2f2f7472617669732d63692e6f72672f68616e61626f736f2f7068702d636865636b2d7574696c732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/hanaboso/php-check-utils)[![PHPStan](https://camo.githubusercontent.com/ff3c7f8c8667ce643f47e74532748f673482a5f95d7d4269f925f2eebbe5117e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230382d627269676874677265656e)](https://img.shields.io/badge/PHPStan-level%208-brightgreen)[![Downloads](https://camo.githubusercontent.com/c12ab86eba2784344cbc30adf6c492738619d1478321b378fffb73c830d83fb6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f68616e61626f736f2f7068702d636865636b2d7574696c73)](https://packagist.org/packages/hanaboso/php-check-utils)

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

[](#installation)

- Download package via composer

```
composer require --dev hanaboso/php-check-utils
```

CodeSniffer
-----------

[](#codesniffer)

- PHP\_CodeSniffer docs: [https://github.com/squizlabs/PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)
- Slevomat Coding Standard docs:
- run PHP\_CodeSniffer

```
./vendor/bin/phpcs --standard=./ruleset.xml -p src/ tests/
```

- ruleset.xml for app

```

```

CodeFixer
---------

[](#codefixer)

- PHP\_CodeSniffer docs: [https://github.com/squizlabs/PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)
- run PHP\_CodeSnifferFixer

```
./vendor/bin/phpcbf --standard=./ruleset.xml -p src/ tests/
```

PhpStan
-------

[](#phpstan)

- PHPStan docs:
- run PHPStan

```
./vendor/bin/phpstan analyse -c phpstan.neon -l 8 src/ tests/
```

- phpstan.neon for app

```
includes:
    - vendor/hanaboso/php-check-utils/phpstan.neon # hanaboso rules
parameters
    excludes_analyse:
    ignoreErrors:
    symfony:
        container_xml_path: %rootDir%/../../../var/cache/dev/srcDevDebugProjectContainer.xml
```

CodeCoverage
------------

[](#codecoverage)

- run Coverage.sh

```
./vendor/hanaboso/php-check-utils/bin/coverage.sh 100
```

PhpStorm - Code Style
---------------------

[](#phpstorm---code-style)

- Import code style XML file from ./vendor/hanaboso/php-check-utils/phpstorm.xml to PhpStorm
- Open import window

```
File -> Settings -> Code Style -> PHP -> Import Scheme -> Intellij IDEA code style XML

```

###  Health Score

64

—

FairBetter than 99% of packages

Maintenance89

Actively maintained with recent releases

Popularity28

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity99

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 84% 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 ~21 days

Recently: every ~62 days

Total

140

Last Release

56d ago

Major Versions

1.7.4 → 2.0.02026-01-05

PHP version history (11 changes)1.0.0PHP &gt;=7.1

1.0.26PHP &gt;=7.2

1.0.29PHP &gt;=7.3

1.0.48PHP &gt;=7.4

1.1.41PHP &gt;=7.4 || &gt;=8.0

1.1.42PHP ^7.4 || ^8.0

1.2.0PHP ^8.0

1.4.0PHP ^8.1

1.5.0PHP ^8.2

1.6.0PHP ^8.3

1.7.0PHP ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/38781718?v=4)[Hanaboso](/maintainers/Hanaboso)[@hanaboso](https://github.com/hanaboso)

---

Top Contributors

[![JirsaR](https://avatars.githubusercontent.com/u/15608377?v=4)](https://github.com/JirsaR "JirsaR (121 commits)")[![vencakrecl](https://avatars.githubusercontent.com/u/6089563?v=4)](https://github.com/vencakrecl "vencakrecl (19 commits)")[![radek-bruha](https://avatars.githubusercontent.com/u/7072163?v=4)](https://github.com/radek-bruha "radek-bruha (3 commits)")[![Honza-Orchesty](https://avatars.githubusercontent.com/u/10424994?v=4)](https://github.com/Honza-Orchesty "Honza-Orchesty (1 commits)")

### Embed Badge

![Health badge](/badges/hanaboso-php-check-utils/health.svg)

```
[![Health](https://phpackages.com/badges/hanaboso-php-check-utils/health.svg)](https://phpackages.com/packages/hanaboso-php-check-utils)
```

###  Alternatives

[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2021.0M277](/packages/drupal-core-dev)[ramsey/devtools

A Composer plugin to aid PHP library and application development.

7134.7k26](/packages/ramsey-devtools)[robole/sulu-ai-translator-bundle

Translate any type of content using DeepL

181.3k](/packages/robole-sulu-ai-translator-bundle)

PHPackages © 2026

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