PHPackages                             duolee/pre-commit - 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. duolee/pre-commit

ActiveLibrary

duolee/pre-commit
=================

The pre-commit system for the Laravel Framework

1.0(4y ago)066MITPHPPHP ^7.4|^8.0

Since Jun 7Pushed 4y ago1 watchersCompare

[ Source](https://github.com/duonglt305/pre-commit)[ Packagist](https://packagist.org/packages/duolee/pre-commit)[ RSS](/packages/duolee-pre-commit/feed)WikiDiscussions master Synced 1mo ago

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

Laravel Pre-commit
==================

[](#laravel-pre-commit)

I. Installation
---------------

[](#i-installation)

```
composer require --dev duolee/pre-commit
```

II. Usage
---------

[](#ii-usage)

- Run manually

```
php artisan pre-commit
```

- Install to git hooks, it will be run when git commit

```
php artisan pre-commit --install
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Unknown

Total

1

Last Release

1805d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/32242390?v=4)[duolee](/maintainers/duolee)[@DuoLee](https://github.com/DuoLee)

---

Top Contributors

[![duonglt305](https://avatars.githubusercontent.com/u/34366522?v=4)](https://github.com/duonglt305 "duonglt305 (3 commits)")

### Embed Badge

![Health badge](/badges/duolee-pre-commit/health.svg)

```
[![Health](https://phpackages.com/badges/duolee-pre-commit/health.svg)](https://phpackages.com/packages/duolee-pre-commit)
```

###  Alternatives

[slevomat/coding-standard

Slevomat Coding Standard for PHP\_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.

1.5k123.5M1.8k](/packages/slevomat-coding-standard)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[youwe/testing-suite

Contains Youwe's default testing packages for php.

13176.9k8](/packages/youwe-testing-suite)[acquia/orca

A tool for testing a company's software packages together in the context of a realistic, functioning, best practices Drupal build

32902.4k](/packages/acquia-orca)[shopsys/coding-standards

Coding standards definition compatible with PSR-2

20269.1k13](/packages/shopsys-coding-standards)

PHPackages © 2026

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