Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 924 Bytes

commands.md

File metadata and controls

39 lines (26 loc) · 924 Bytes

Commands

Installation

GrumPHP comes shipped with a configuration tool. Run following command to create a basic configuration file:

php ./vendor/bin/grumphp configure

This command gets invoked during installation. It wil not ask you for anything, but it will try to guess the best possible configuration.

To enable or disable GrumPHP, you can run one of the following commands:

php ./vendor/bin/grumphp git:init
php ./vendor/bin/grumphp git:deinit

The git:init is triggered by the composer plugin during installation.

Git hooks

GrumPHP will be triggered with GIT hooks. However, you can run following commands:

php ./vendor/bin/grumphp git:pre-commit
php ./vendor/bin/grumphp git:commit-msg

Run

If you want to run the tests on the full codebase, you can run the command:

php ./vendor/bin/grumphp run

This command can also be used for continious integration.