gitamine / gitamine
git hooks manager
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 1
Open Issues: 0
Type:application
Requires
- php: ^7.1.3
- ext-iconv: *
- prooph/service-bus: ^6.1
- prooph/service-bus-symfony-bundle: ^0.5
- react/promise: ^2.5
- symfony/console: ^4.0
- symfony/finder: ^4.0
- symfony/flex: ^1.0
- symfony/framework-bundle: ^4.0
- symfony/phpunit-bridge: ^4.0
- symfony/stopwatch: ^4.0
- symfony/yaml: ^4.0
Requires (Dev)
- friendsofphp/php-cs-fixer: @stable
- j13k/yaml-lint: @stable
- mockery/mockery: ^1.0
- phpmd/phpmd: @stable
- phpunit/phpunit: @stable
- squizlabs/php_codesniffer: @stable
- symfony/dotenv: ^4.0
- symfony/var-dumper: ^4.0
Conflicts
Replaces
README
US: /ɡɪtəˈ.miː.n/
UK: /ɡɪtˈæ.miːn/
requirements
- Linux/Mac
- php7.1
- php curl
- php zip
- Git
Installation
$ composer global require gitamine/gitamine
Usage
In your git project run:
$ gitamine init
After that you will need to create in your root project folder a gitamine file
# gitamine.yaml gitamine: __event__: __plugin1__: ~ __plugin2__: ~ #...
For example, this will assure that the commit will execute phpunit, and if it fails, then the commit won't be done.
# gitamine.yaml gitamine: pre-commit: phpunit: ~
How to create a plugin
TODO