s2925534/sgithooks
最新稳定版本:1.0
Composer 安装命令:
composer require s2925534/sgithooks
包简介
PHP wrapped pre-commit and commit message validation.
README 文档
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"
},
...
统计信息
- 总下载量: 133
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-05-17