PHPackages                             s2925534/sgithooks - 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. s2925534/sgithooks

ActiveLibrary

s2925534/sgithooks
==================

PHP wrapped pre-commit and commit message validation.

1.0(4y ago)0132MITPHPPHP &gt;=5.3

Since May 19Pushed 4y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

S. Git Hooks
============

[](#s-git-hooks)

So far implement the message commit, and the pre-commit branch checkup

Requirements
------------

[](#requirements)

- \[PHP = 5.3 and up\]
- \[Composer\] ()

Git hooks implementation.
=========================

[](#git-hooks-implementation)

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

[](#installation)

Install by downloading the folder into your project's vendor folder or using the composer command below

```
composer require s2925534/sgithooks
```

Setup
-----

[](#setup)

Add to composer `scripts` section as below and create the `bin` folder.

```
...
    "scripts": {
        "post-install-cmd": [
          "SGitHooks\\Actions\\ConfigSetup::build"
        ],
        "post-update-cmd": [
          "SGitHooks\\Actions\\ConfigSetup::build"
        ]
    },
      "config": {
        "bin-dir": "bin"
      },
  ...

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

1819d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d13343fbe035677352c5a766ee55d608f013c89dbf676fffc166a44012f8d0e?d=identicon)[s2925534](/maintainers/s2925534)

---

Top Contributors

[![s2925534](https://avatars.githubusercontent.com/u/7779985?v=4)](https://github.com/s2925534 "s2925534 (2 commits)")

### Embed Badge

![Health badge](/badges/s2925534-sgithooks/health.svg)

```
[![Health](https://phpackages.com/badges/s2925534-sgithooks/health.svg)](https://phpackages.com/packages/s2925534-sgithooks)
```

PHPackages © 2026

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