richardtmiles/php-git-hooks

version and release management

3.1.0 2024-04-28 05:52 UTC

This package is auto-updated.

Last update: 2024-04-28 05:53:30 UTC


README

Standardizing my .githooks runtime

Installation

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

You'll need to add the following manually to your composer.json. PhpGitHooks\\PhpGitHooks::install can be run in any order. Learn more about Composer scripts here.

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