producer/githooks
Composer 安装命令:
composer require producer/githooks
包简介
Git hook scripts via Composer
README 文档
README
Naive Git hooks, installable by Composer.
Add the following to your composer file:
{
"require-dev": {
"producer/githooks": "~0.x"
}
}
After composer install or composer update, issue the following to set
the Git hooks:
php ./vendor/producer/githooks/bin/set-hooks.php
That creates, or appends to, .git/hooks/pre-commit file to run a PHP linter on
added, copied, and modified PHP files before git commit.
统计信息
- 总下载量: 16.18k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-01-08