richardtmiles / php-git-hooks
version and release management
Installs: 99
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/richardtmiles/php-git-hooks
Requires
- php: >=8.2
- carbonorm/carbonphp: >=20.1.9
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"
    ]
  },
}