2017 © Pedro Peláez
 

library captainhook

image

mc388/captainhook

  • Thursday, November 3, 2016
  • by mc388
  • Repository
  • 1 Watchers
  • 3 Stars
  • 10 Installations
  • Shell
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

CaptainHook

CaptainHook is a package which adds git hooks to your project., (*1)

Installation

To add this package to your project, run composer require mc388/captainhook. In your composer.json you need to add the setup script:, (*2)

"scripts": {
  "post-install-cmd": [
    "MarvinCaspar\\CaptainHook\\Hooks::install"
  ],
  "post-update-cmd": [
    "MarvinCaspar\\CaptainHook\\Hooks::install"
   ]
},

Hooks

commit-msg

This hooks validates the commit message by following [ http://chris.beams.io/posts/git-commit/](these rules)., (*3)

pre-commit

This script requires different php tools to check your code., (*4)

Required

  • phpcs
  • phpmd
  • phpunit

The Versions

03/11 2016

dev-develop

dev-develop

  Sources   Download

MIT

03/11 2016

dev-master

9999999-dev

  Sources   Download

MIT

03/11 2016

v1.0.0

1.0.0.0

  Sources   Download

MIT