cuonggt/hooky
最新稳定版本:v0.1.0
Composer 安装命令:
composer require cuonggt/hooky
包简介
An opinionated git hooks tool for PHP.
关键字:
README 文档
README
Introduction
Hooky is an opinionated git hooks tool for PHP artisan. Hooky is heavily inspired by husky and make it simple to lint your commit messages, lint code, run tests, etc... when you commit or push.
Installation
First, install Hooky into your project using the Composer package manager:
composer require --dev cuonggt/hooky
Then run the install command:
vendor/bin/hooky install
Usage
Add a hook:
vendor/bin/hooky add .hooky/pre-commit "vendor/bin/phpunit"
Make a commit:
git add .hooky/pre-commit git commit -m "Keep calm and commit" # `vendor/bin/phpunit` will run
License
Hooky is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 1.5k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-04-18