2017 © Pedro Peláez
 

library hf-git-hooks

Common Git Hooks

image

plhw/hf-git-hooks

Common Git Hooks

  • Thursday, February 1, 2018
  • by bushbaby
  • Repository
  • 1 Watchers
  • 0 Stars
  • 41 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 3 % Grown

The README.md

HF Git Hooks

Tool to automaticly installs hooks for repository in your ./.git/hooks path., (*1)

Currently we have a pre-push hook that does the following;, (*2)

  • Checks for a valid composer.json and composer.lock.
  • Check code style

INSTALLATION

composer require plhw/hf-git-hooks --dev as a composer dependency., (*3)

Configuration

Add the following to your composer.json file., (*4)

"scripts": {
    "pre-update-cmd": "HF\\GitHooks\\Installer::preHooks",
    "pre-install-cmd": "HF\\GitHooks\\Installer::preHooks",
    "post-update-cmd": "HF\\GitHooks\\Installer::postHooks",
    "post-install-cmd": "HF\\GitHooks\\Installer::postHooks"
}

The Versions

01/02 2018

dev-master

9999999-dev

Common Git Hooks

  Sources   Download

MIT

The Requires

  • php ^7.1

 

The Development Requires

01/02 2018

0.2.0

0.2.0.0

Common Git Hooks

  Sources   Download

MIT

The Requires

  • php ^7.1

 

The Development Requires

11/11 2017

0.1.0

0.1.0.0

Common Git Hooks

  Sources   Download

MIT

The Requires

  • php ^7.1

 

The Development Requires