zloesabo/githooks
Composer 安装命令:
composer require zloesabo/githooks
包简介
Git Hooks manager
README 文档
README
Description
Tired of commiting files with syntax errors all over again? Got var_dump pushed to production once again? Use this library to perform checks every time you commit something.
Usage
- install this package with composer
composer require zloesabo/githooks
- (optional) modify your project's composer.json "extra" section to include your custom hooks
"extra": { "git-hooks": [ "src/Prefix/HookDirectory", "@default" ] }
You can also omit this to use default hooks
- (optional) Write some custom hooks
Your hooks must implement HookInterface to be loaded by hook loader.
TODO's
Tests
Different hook types
PHP < 5.4
Take care of existing hooks during install
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-02-09