PHPackages                             splotches/php-composter-phpstan - 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. splotches/php-composter-phpstan

ActivePhp-composter-action[Testing &amp; Quality](/categories/testing)

splotches/php-composter-phpstan
===============================

Automatically install a git pre-commit hook to statically analyse your PHP files upon each commit using the phpstan.neon configuration.

0.1.1(7y ago)122GPL-3.0-onlyPHP

Since Sep 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/pascal-splotches/php-composter-phpstan)[ Packagist](https://packagist.org/packages/splotches/php-composter-phpstan)[ RSS](/packages/splotches-php-composter-phpstan/feed)WikiDiscussions master Synced 2d ago

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

PHP Composter PHPStan
=====================

[](#php-composter-phpstan)

[![standard-readme compliant](https://camo.githubusercontent.com/85a8df07cdb7b52c6d19aa103678fed76e6ba8467339b03824405d23c71bf2d7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374616e646172642d2d726561646d652d4f4b2d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/85a8df07cdb7b52c6d19aa103678fed76e6ba8467339b03824405d23c71bf2d7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374616e646172642d2d726561646d652d4f4b2d677265656e2e7376673f7374796c653d666c61742d737175617265)

Automatically install a git pre-commit hook to statically analyse your PHP files upon each commit using the `phpstan.neon` configuration.

Table Of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Usage](#usage)
- [Built With](#built-with)
- [Contributing](#contributing)
- [Versioning](#versioning)
- [Authors](#authors)
- [License](#license)

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

[](#installation)

Add as a development requirement to your `composer.json`:

```
composer require --dev pascal-splotches/php-composter-phpstan
```

Usage
-----

[](#usage)

It automatically works whenever you execute a `git commit`.

Built With
----------

[](#built-with)

- [Composter](https://github.com/php-composter/php-composter)
- [PHP Static Analysis Tool](https://github.com/phpstan/phpstan)

Contributing
------------

[](#contributing)

All feedback, bug reports and pull requests are welcomed.

Versioning
----------

[](#versioning)

We use [SemVer](https://semver.org/) for versioning. For the versions available, see the [releases on this repository](https://github.com/pascal-splotches/php-composter-phpmd/releases).

Authors
-------

[](#authors)

- Pascal Scheepers

License
-------

[](#license)

This project is licensed under the GPL v3 License - see the [LICENSE](./LICENSE) file for details.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

2

Last Release

2833d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13313021?v=4)[Pascal Scheepers](/maintainers/pascal-splotches)[@pascal-splotches](https://github.com/pascal-splotches)

---

Top Contributors

[![pascal-splotches](https://avatars.githubusercontent.com/u/13313021?v=4)](https://github.com/pascal-splotches "pascal-splotches (3 commits)")

---

Tags

composergithookphpstan

### Embed Badge

![Health badge](/badges/splotches-php-composter-phpstan/health.svg)

```
[![Health](https://phpackages.com/badges/splotches-php-composter-phpstan/health.svg)](https://phpackages.com/packages/splotches-php-composter-phpstan)
```

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.5k55.4M7.9k](/packages/larastan-larastan)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

79475.7M2.1k](/packages/phpstan-phpstan-symfony)[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

67272.8M1.4k](/packages/phpstan-phpstan-doctrine)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[shipmonk/dead-code-detector

Dead code detector to find unused PHP code via PHPStan extension. Can automatically remove dead PHP code. Supports libraries like Symfony, Doctrine, PHPUnit etc. Detects dead cycles. Can detect dead code that is tested.

4853.5M90](/packages/shipmonk-dead-code-detector)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136406.3k14](/packages/rector-rector-src)

PHPackages © 2026

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