Download the PHP package bushlanov-dev/php-coverage-badger without Composer
On this page you can find all versions of the php package bushlanov-dev/php-coverage-badger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download bushlanov-dev/php-coverage-badger
More information about bushlanov-dev/php-coverage-badger
Files in bushlanov-dev/php-coverage-badger
Download bushlanov-dev/php-coverage-badger
More information about bushlanov-dev/php-coverage-badger
Files in bushlanov-dev/php-coverage-badger
Vendor bushlanov-dev
Package php-coverage-badger
Short Description Create a code coverage badge from a PHPUnit Clover XML file.
License MIT
Homepage https://github.com/BushlanovDev/php-coverage-badge
Package php-coverage-badger
Short Description Create a code coverage badge from a PHPUnit Clover XML file.
License MIT
Homepage https://github.com/BushlanovDev/php-coverage-badge
Please rate this library. Is it a good library?
Informations about the package php-coverage-badger
PHPCoverageBadge
PHPCoverageBadge is a library for creating an SVG coverage badge from a PHPUnit Clover XML file.
Installation
Composer!
composer require --dev bushlanov-dev/php-coverage-badger
Usage
- Generate XML Code Coverage using PHPUnit
- Run
vendor/bin/php-coverage-badger clover.xml badge.svg <optional text:default "coverage"> <optional --square>- e.g.
vendor/bin/php-coverage-badger build/clover.xml report/square.svg --square[]() - e.g.
vendor/bin/php-coverage-badger build/clover.xml report/coverage.svg[]() - e.g.
vendor/bin/php-coverage-badger build/clover.xml report/phpunit.svg PHPUnit[]() - e.g.
vendor/bin/php-coverage-badger build/clover.xml report/your-text.svg "Aprx9chr"[]()
- e.g.
Acknowledgements
This library is forked from Michael Moussa's php-coverage-checker, derived from Marco Pivetta's post on CI test coverage checks
Inspiration for generating an SVG badge from coverage results is taken from the coverage-badge Python library, derived from the Shields.io project.
License
This repository's source code is available under the MIT License.
All versions of php-coverage-badger with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
ext-simplexml Version *
ext-simplexml Version *
The package bushlanov-dev/php-coverage-badger contains the following files
Loading the files please wait ...