2017 © Pedro Peláez
 

composer-plugin git-hooks-installer

This composer plugin helps you automate the installation git hooks into your project.

image

ams/git-hooks-installer

This composer plugin helps you automate the installation git hooks into your project.

  • Tuesday, April 17, 2018
  • by amansilla
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3,397 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 7 Versions
  • 7 % Grown

The README.md

Git Hooks Composer Installer

Build Status Build status Latest Stable Version Total Downloads Scrutinizer Code Quality SensioLabsInsight License, (*1)

Latest release: 1.0.0, (*2)

This plugin helps you automate the installation git hooks using composer., (*3)

Installation

Just run the following command:, (*4)

$ composer require --dev ams/git-hooks-installer

or if you prefer add the following to the composer.json file:, (*5)

{
    "require-dev": {
        "ams/git-hooks-installer": "^1.0"
    },
    "extra": {
        "git-root-dir": "."
    }
}

Usage

When the git-hooks-composer installer is run, it only looks for git-hooks among your project dependencies. If your package is a git hook and you want it to be installed with composer automatically you'll need to define a composer.json as follows:, (*6)

{
    "type": "git-hook"
}

, (*7)

Currently are the following git hooks supported: * applypatch-msg * pre-applypatch * post-applypatch * pre-commit * prepare-commit-msg * commit-msg * post-commit * pre-rebase * post-checkout * post-merge * pre-push * pre-auto-gc * post-rewrite, (*8)

You can find any additional information about the git hooks on the git documentation online., (*9)

Contribute

Contributions to are very welcome!, (*10)

Support

If you are having problems, send a mail to contact@amansilla.com or just write me @flamingek on Twitter., (*11)

License

All contents of this package are licensed under the MIT license., (*12)

The Versions

17/04 2018

dev-dev

dev-dev https://github.com/amansilla/git-hooks-composer-installer

This composer plugin helps you automate the installation git hooks into your project.

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.1

 

The Development Requires

15/01 2018

dev-master

9999999-dev https://github.com/amansilla/git-hooks-composer-installer

This composer plugin helps you automate the installation git hooks into your project.

  Sources   Download

MIT

The Requires

  • php >=5.5
  • composer-plugin-api ^1.1

 

The Development Requires

14/01 2018

1.0.0

1.0.0.0 https://github.com/amansilla/git-hooks-composer-installer

This composer plugin helps you automate the installation git hooks into your project.

  Sources   Download

MIT

The Requires

  • php >=5.5
  • composer-plugin-api ^1.1

 

The Development Requires

13/01 2018

1.0.0-alpha4

1.0.0.0-alpha4 https://github.com/amansilla/git-hooks-composer-installer

This composer plugin helps you automate the installation git hooks into your project.

  Sources   Download

MIT

The Requires

  • php >=5.5
  • composer-plugin-api ^1.1

 

The Development Requires

10/11 2016

1.0.0-alpha3

1.0.0.0-alpha3 https://github.com/amansilla/git-hooks-composer-installer

This composer plugin helps you automate the installation git hooks into your project.

  Sources   Download

MIT

The Requires

  • php >=5.5
  • composer-plugin-api ^1.1

 

The Development Requires

23/09 2016

1.0.0-alpha2

1.0.0.0-alpha2 https://github.com/amansilla/git-hooks-composer-installer

This composer plugin helps you automate the installation git hooks into your project.

  Sources   Download

MIT

The Requires

  • php >=5.5
  • composer-plugin-api ^1.1

 

The Development Requires

28/07 2016

1.0.0-alpha1

1.0.0.0-alpha1 https://github.com/amansilla/git-hooks-composer-installer

This composer plugin helps you automate the installation git hooks into your project.

  Sources   Download

MIT

The Requires

  • php >=5.5
  • composer-plugin-api ^1.1

 

The Development Requires