PHPackages                             dangthinh104/commit-checker - 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. dangthinh104/commit-checker

ActivePackage[Testing &amp; Quality](/categories/testing)

dangthinh104/commit-checker
===========================

Check coding standard &amp; code syntax with Git pre-commit hook.

2.0.0(4y ago)14MITPHPPHP ^7.1.3CI failing

Since Jul 23Pushed 4y agoCompare

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

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

Laravel GIT commit checker by PHPCS, PHPMD
==========================================

[](#laravel-git-commit-checker-by-phpcs-phpmd)

[![Latest Version](https://camo.githubusercontent.com/64add8bf3a820d8750d0e99c0ed7daab6617b21023ce63d859d4a66b34393818/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7468696e682f636f6d6d69742d636865636b65722e7376673f7374796c653d666c61742d737175617265)](https://github.com/dangthinh104/commit-checker/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/fcc598831d0cc795c334ca0cb9d20508a3450f6a71a39fb9e010ef1ea89910f0/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f626f74626c652f6769742d636f6d6d69742d636865636b65722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/dangthinh104/commit-checker)

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

[](#installation)

```
composer require dangthinh104/commit-checker
```

Publish the configuration:

### Install GIT hooks

[](#install-git-hooks)

```
php artisan git:install-hooks
```

- Create default PSR config (It will create phpcs.xml in your root project).

```
php artisan git:create-phpcs
```

- Create default PHPMD config (It will create phpmd.xml in your root project).

```
php artisan git:create-phpmd
```

- Run test manually (made sure you've added all changed files to git stage)

```
php artisan git:pre-commit
```

- Run test manually PHPMD(default just check PSR2)

```
php artisan git:pre-commit --phpmd
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

Total

2

Last Release

1475d ago

Major Versions

v1.0 → 2.0.02022-05-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/17e9b3a017e6d243a462bed3b2ba4f6f0547a6c8aa53c7a613ae6365b0da4009?d=identicon)[dangthinh104](/maintainers/dangthinh104)

---

Top Contributors

[![dangthinh104](https://avatars.githubusercontent.com/u/33454713?v=4)](https://github.com/dangthinh104 "dangthinh104 (1 commits)")

---

Tags

dangthinh104

### Embed Badge

![Health badge](/badges/dangthinh104-commit-checker/health.svg)

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

###  Alternatives

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[orchestra/workbench

Workbench Companion for Laravel Packages Development

8217.0M43](/packages/orchestra-workbench)[youwe/testing-suite

Contains Youwe's default testing packages for php.

13176.9k8](/packages/youwe-testing-suite)[guanguans/laravel-soar

SQL optimizer and rewriter for laravel. - laravel 的 SQL 优化器和重写器。

2227.8k](/packages/guanguans-laravel-soar)

PHPackages © 2026

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