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. [Framework](/categories/framework)
4. /
5. duolee/pre-commit

ActiveLibrary[Framework](/categories/framework)

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

The pre-commit system for the Laravel Framework

1.0(5y 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 today

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

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

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

Unknown

Total

1

Last Release

1853d 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

[nunomaduro/phpinsights

Instant PHP quality checks from your console.

5.6k11.7M496](/packages/nunomaduro-phpinsights)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1882.3M44](/packages/dereuromark-cakephp-ide-helper)[spryker/code-sniffer

Spryker Code Sniffer Standards

384.3M2.8k](/packages/spryker-code-sniffer)[wp-cli/wp-cli-tests

WP-CLI testing framework

423.1M142](/packages/wp-cli-wp-cli-tests)[ec-europa/toolkit

Toolkit packaged for Drupal projects based on Robo.

40252.8k34](/packages/ec-europa-toolkit)[youwe/testing-suite

Contains Youwe's default testing packages for php.

13191.0k8](/packages/youwe-testing-suite)

PHPackages © 2026

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