s2925534 / sgithooks
PHP wrapped pre-commit and commit message validation.
Installs: 132
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/s2925534/sgithooks
Requires
- php: >=5.3
This package is not auto-updated.
Last update: 2025-12-29 20:46:29 UTC
README
So far implement the message commit, and the pre-commit branch checkup
Requirements
- [PHP = 5.3 and up]
- [Composer] (https://getcomposer.org/)
Git hooks implementation.
Installation
Install by downloading the folder into your project's vendor folder or using the composer command below
composer require s2925534/sgithooks
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"
},
...