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 today

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 26% 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

1521d ago

Major Versions

v1.0 → 2.0.02022-05-04

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/33454713?v=4)[dangthinh104](/maintainers/dangthinh104)[@dangthinh104](https://github.com/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

[slevomat/coding-standard

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

1.5k134.0M2.3k](/packages/slevomat-coding-standard)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[youwe/testing-suite

Contains Youwe's default testing packages for php.

13191.0k8](/packages/youwe-testing-suite)[api-platform/laravel

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3416.7k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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