PHPackages                             kayw/quality-hook-installer - 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. kayw/quality-hook-installer

ActiveLibrary

kayw/quality-hook-installer
===========================

Install an execute script of specify quality tools to your git pre-commit hook, and it executes only for changed files

1.0.24(1y ago)242MITPHP

Since Sep 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/kayw-geek/quality-hook-installer)[ Packagist](https://packagist.org/packages/kayw/quality-hook-installer)[ RSS](/packages/kayw-quality-hook-installer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (26)Used By (0)

Quality Hook Installer
======================

[](#quality-hook-installer)

Install an execute script of specify quality tools to your git pre-commit hook, and it executes only for changed files

Install
-------

[](#install)

```
composer global require kayw/quality-hook-installer
```

Usage
-----

[](#usage)

1. `quality run install --phpstan --php-cs-fixer`
2. Execute `git add .` in your project.
3. `git commit -m 'xxx'`
4. The pre-commit hook will be triggered and the PHPStan and PHPCsFixer will execute only for changed files.

Commands
--------

[](#commands)

The following command will execute quality inspection only for changed files

`quality run --phpstan --php-cs-fixer`

The following command will write in your pre-commit of git hook

`quality run install --phpstan --php-cs-fixer`

The following command will remove your pre-commit of git hook

`quality run uninstall`

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Recently: every ~74 days

Total

25

Last Release

715d ago

### Community

Maintainers

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

---

Top Contributors

[![kayw-geek](https://avatars.githubusercontent.com/u/29700073?v=4)](https://github.com/kayw-geek "kayw-geek (10 commits)")

---

Tags

githooksgithooks-pluginphpcsfixerphplintphpstan

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/kayw-quality-hook-installer/health.svg)

```
[![Health](https://phpackages.com/badges/kayw-quality-hook-installer/health.svg)](https://phpackages.com/packages/kayw-quality-hook-installer)
```

###  Alternatives

[phan/phan

A static analyzer for PHP

5.6k11.2M1.1k](/packages/phan-phan)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)[php-soap/wsdl-reader

A WSDL reader in PHP

212.3M9](/packages/php-soap-wsdl-reader)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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