richardtmiles/php-git-hooks

版本和发布管理

3.1.0 2024-04-28 05:52 UTC

This package is auto-updated.

Last update: 2024-09-28 06:53:47 UTC


README

标准化我的 .githooks 运行时

安装

composer require --dev richardtmiles/php-git-hooks

您需要手动将以下内容添加到您的 composer.json 中。 PhpGitHooks\\PhpGitHooks::install 可以按任意顺序运行。了解更多关于 Composer 脚本的信息

{
  "scripts": {
    "post-install-cmd": [
      "PhpGitHooks\\PhpGitHooks::install"
    ],
    "post-update-cmd": [
      "PhpGitHooks\\PhpGitHooks::install"
    ]
  },
}