承接 cuonggt/hooky 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-18