bfday / php-git-hooks
GIT hooks for PHP
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
Installs: 177
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/bfday/php-git-hooks
Requires
- php: >=5.4.0
 
README
Package includes GIT hooks which:
- watches for composer.lock changes between switches to branches and merging new changes then notifies you in console about composer.lock changed.
 
Installation
- Manually add to file "composer.json" (at first level):
 
"scripts": {
    "post-package-install": [
      "bfday\\PhpGitHooks\\ComposerHandlers\\Hooks::postPackageInstallUpdate"
    ],
    "post-package-update": [
      "bfday\\PhpGitHooks\\ComposerHandlers\\Hooks::postPackageInstallUpdate"
    ]
  }
- run:
 
composer require "bfday/php-git-hooks"
Usage
Works automatically.