Download the PHP package juizmill/git-hooks without Composer
On this page you can find all versions of the php package juizmill/git-hooks. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download juizmill/git-hooks
More information about juizmill/git-hooks
Files in juizmill/git-hooks
Download juizmill/git-hooks
More information about juizmill/git-hooks
Files in juizmill/git-hooks
Vendor juizmill
Package git-hooks
Short Description Git Hooks
License MIT
Homepage https://github.com/juizmill/git-hooks
Package git-hooks
Short Description Git Hooks
License MIT
Homepage https://github.com/juizmill/git-hooks
Please rate this library. Is it a good library?
Informations about the package git-hooks
Git Hooks
Checks list
- Syntax check with php lint (“php -l”): We check every committed file has a valid PHP syntax.
- Sync check of composer.json and composer.lock files: We check these two files are committed together in order to avoid committing the json but not the lock and generate some issue to another developers.
- PHP CS Fixer check: With the –dry-run parameter it does not fix, just say what the problems are. With the –fixers parameter you can control what fixers you want to execute.
- PHP Code Sniffer check: Same as before, but another rule that checks another rules.
- PHPMD: We have enabled the controversial rules.
- Unit Testing check: We run around 3.000 tests right now.
INSTALLATION:
The recommended way to install this library is through Composer:
add juizmill/git-hooks
as a composer dependency.
composer.json
php composer.phar update juizmill/git-hooks
USAGE:
When a developer clones the project, it just needs to:
Edit composer.json and add:
Remembering to set up the hooks
Custom config
Copy arquives vendor/juizmill/git-hooks/config/*
to [project]
Reference
All versions of git-hooks with dependencies
PHP Build Version
Package Version
Requires
symfony/process Version
v3.*
squizlabs/php_codesniffer Version ^2.3
phpmd/phpmd Version ^2.2
friendsofphp/php-cs-fixer Version v1.12.4
phpunit/phpunit Version ^4.8
squizlabs/php_codesniffer Version ^2.3
phpmd/phpmd Version ^2.2
friendsofphp/php-cs-fixer Version v1.12.4
phpunit/phpunit Version ^4.8
The package juizmill/git-hooks contains the following files
Loading the files please wait ....