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

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

splotches/php-composter-phpmnd
==============================

Automatically install a git pre-commit hook to check your PHP files upon each commit to make sure they follow the rules defined in phpmd.xml.

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

Since Sep 27Pushed 7y ago1 watchersCompare

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

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

PHP Composter PHPMND
====================

[](#php-composter-phpmnd)

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

Automatically install a git pre-commit hook to check your PHP files upon each commit to scan for magic numbers.

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-phpmnd
```

Usage
-----

[](#usage)

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

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

[](#built-with)

- [Composter](https://github.com/php-composter/php-composter)
- [PHP Magic Number Detector](https://github.com/povils/phpmnd)

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

Popularity6

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

2832d 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 (5 commits)")

---

Tags

composergithookphpmnd

### Embed Badge

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

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

###  Alternatives

[brianium/paratest

Parallel testing for PHP

2.5k129.9M913](/packages/brianium-paratest)[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k16.3M978](/packages/phpro-grumphp)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k41.3M38.9k](/packages/orchestra-testbench)[infection/infection

Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.

2.2k27.9M2.2k](/packages/infection-infection)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[drupal/drupal-driver

A collection of reusable Drupal drivers

6816.2M23](/packages/drupal-drupal-driver)

PHPackages © 2026

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