PHPackages                             m1ke/git-php-lint - 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. m1ke/git-php-lint

ActiveLibrary

m1ke/git-php-lint
=================

Easily lint PHP files when commiting

1.0.2(11y ago)21021MITShell

Since Jul 29Pushed 11y ago1 watchersCompare

[ Source](https://github.com/M1ke/git-php-lint)[ Packagist](https://packagist.org/packages/m1ke/git-php-lint)[ RSS](/packages/m1ke-git-php-lint/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)DependenciesVersions (3)Used By (1)

Git PHP Lint
============

[](#git-php-lint)

Require this with composer:

```
php composer.phar require --dev m1ke/git-php-lint:1.0.0

```

Unfortunately this uses the `post-install-cmd` script in composer, which doesn't trigger for required dependencies. Once you've updated your packages run:

```
./vendor/m1ke/git-php-lint/shell/setup

```

It will add a git `pre-commit` script to lint PHP files, via a symlink into the package.

#### Security Note

[](#security-note)

Symlinking to a shell script in a package which auto-upates could obviously be a risk. For this reason only install this package with a set version constraint; that way you'll get a fixed release which you can eyeball for security before you run it.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

2

Last Release

4304d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e13cb42c1a004c15c986cc3ac59424757dd04b25ed4068146e41812f0410338?d=identicon)[m1ke](/maintainers/m1ke)

---

Top Contributors

[![M1ke](https://avatars.githubusercontent.com/u/1226123?v=4)](https://github.com/M1ke "M1ke (9 commits)")

### Embed Badge

![Health badge](/badges/m1ke-git-php-lint/health.svg)

```
[![Health](https://phpackages.com/badges/m1ke-git-php-lint/health.svg)](https://phpackages.com/packages/m1ke-git-php-lint)
```

PHPackages © 2026

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