PHPackages                             mofodojodino/git-hooks - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mofodojodino/git-hooks

ActiveProject[Utility &amp; Helpers](/categories/utility)

mofodojodino/git-hooks
======================

Git hooks for installing into PHP projects. Include linting and code style checking, etc.

11.9kShell

Since Nov 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/developerdino/git-hooks)[ Packagist](https://packagist.org/packages/mofodojodino/git-hooks)[ RSS](/packages/mofodojodino-git-hooks/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Git hooks collection for PHP projects
=====================================

[](#git-hooks-collection-for-php-projects)

Installation
============

[](#installation)

Add the following to your require-dev and scripts sections of your project composer.json. Next run `composer update` to pull in the package.

This will run the update and automatically install the hooks in git.

composer.json

```
{
    "require-dev" {
        "mofodojodino/git-hooks": "dev-master"
    },
    "scripts": {
        "post-install-cmd": [
            "bash ./vendor/mofodojodino/git-hooks/install_hooks.sh"
        ],
        "post-update-cmd": [
            "bash ./vendor/mofodojodino/git-hooks/install_hooks.sh"
        ]
    }
}

```

And that's it, every time you run `composer install` or `composer update` your git hooks will then be updated to the latest.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/311251bff9b30184fcdaa12857975bcd0b7dcd9b409fe37e428bec2a19681f12?d=identicon)[developerdino](/maintainers/developerdino)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mofodojodino-git-hooks/health.svg)

```
[![Health](https://phpackages.com/badges/mofodojodino-git-hooks/health.svg)](https://phpackages.com/packages/mofodojodino-git-hooks)
```

###  Alternatives

[qruto/laravel-wave

Painless Laravel Broadcasting with SSE.

87048.4k](/packages/qruto-laravel-wave)

PHPackages © 2026

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