Skip to main content

A PHP client for Coveralls.

# To send coverage information to Coveralls:
php-coveralls

# To send coverage information to Coveralls for a specific directory:
php-coveralls --root_dir <path/to/directory>

# To send coverage information to Coveralls with a specific config:
php-coveralls --config <path/to/.coveralls.yml>

# To send coverage information to Coveralls with verbose output:
php-coveralls --verbose

# To send coverage information to Coveralls excluding source files with no executable statements:
php-coveralls --exclude-no-stmt

# To send coverage information to Coveralls with a specific environment name:
php-coveralls --env <test|dev|prod>

# To specify multiple Coverage Clover XML files to upload:
php-coveralls --coverage_clover <path/to/first_clover.xml> --coverage_clover <path/to/second_clover.xml>

# To output the JSON that will be sent to Coveralls to a specific file:
php-coveralls --json_path <path/to/coveralls-upload.json>