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.
v1.0.18
2017-01-23 13:45 UTC
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.