2017 © Pedro Peláez
 

library githooks

Git hook scripts via Composer

image

producer/githooks

Git hook scripts via Composer

  • Tuesday, February 6, 2018
  • by pmjones
  • Repository
  • 1 Watchers
  • 2 Stars
  • 206 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 21 % Grown

The README.md

producer/githooks

Naive Git hooks, installable by Composer., (*1)

Add the following to your composer file:, (*2)

{
    "require-dev": {
        "producer/githooks": "~0.x"
    }
}

After composer install or composer update, issue the following to set the Git hooks:, (*3)

php ./vendor/producer/githooks/bin/set-hooks.php

That creates, or appends to, .git/hooks/pre-commit file to run a PHP linter on added, copied, and modified PHP files before git commit., (*4)

The Versions

06/02 2018

0.x-dev

0.9999999.9999999.9999999-dev

Git hook scripts via Composer

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires