hexanet / php-git-hooks
Git hooks for PHP projects
Installs: 8 007
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 4
Forks: 1
Open Issues: 0
Type:project
Requires
- php: >=7.1
- eloquent/composer-config-reader: ^2.1
- friendsofphp/php-cs-fixer: ^2.0
- mnapoli/silly-php-di: ^1.2
- symfony/filesystem: ~3.3|~4.0
- symfony/process: ~3.3|~4.0
Requires (Dev)
- composer/composer: ^1.2
- symfony/var-dumper: ~3.3|~4.0
This package is not auto-updated.
Last update: 2022-02-01 13:08:58 UTC
README
Features :
- Check if composer.lock is synchronized with composer.json
- Lint
- Check and fix coding styles with PHP-CS-FIXER
Installation
composer require hexanet/php-git-hooks
Usage
composer.json :
"scripts": { "pre-update-cmd": "Hexanet\\PhpGitHooks\\Composer\\InstallHooksScript::installHooks", "pre-install-cmd": "Hexanet\\PhpGitHooks\\Composer\\InstallHooksScript::installHooks" }
Credits
Developed by Hexanet.
License
php-git-hooks is licensed under the MIT license.