PHPackages                             league/phpunit-coverage-listener - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. league/phpunit-coverage-listener

AbandonedArchivedLibrary[Testing &amp; Quality](/categories/testing)

league/phpunit-coverage-listener
================================

Utility library that allow you to process the PHPUnit code-coverage information and send it into some remote location via cURL

v1.1.2(12y ago)4935.4k—0%7[3 issues](https://github.com/thephpleague/phpunit-coverage-listener/issues)20MITPHPPHP &gt;=5.3.3

Since Jul 26Pushed 11y ago6 watchersCompare

[ Source](https://github.com/thephpleague/phpunit-coverage-listener)[ Packagist](https://packagist.org/packages/league/phpunit-coverage-listener)[ Docs](https://github.com/php-loep/phpunit-coverage-listener)[ RSS](/packages/league-phpunit-coverage-listener/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (20)

PHPUnit Coverage Listener
=========================

[](#phpunit-coverage-listener)

[![Build Status](https://camo.githubusercontent.com/834bab791661dc8b9757b47de230af608a9b4bc23f2ae81fac3e0c4e0d5322ac/68747470733a2f2f7472617669732d63692e6f72672f7468657068706c65616775652f706870756e69742d636f7665726167652d6c697374656e65722e706e67)](https://travis-ci.org/thephpleague/phpunit-coverage-listener) [![Dependencies Status](https://camo.githubusercontent.com/ddd41e9e52e87cad0e08b22ff0fa5218d68ca27ac483c9feaa8df6d2be6a4236/68747470733a2f2f646570656e64696e672e696e2f7468657068706c65616775652f706870756e69742d636f7665726167652d6c697374656e65722e706e67)](http://depending.in/thephpleague/phpunit-coverage-listener) [![Coverage Status](https://camo.githubusercontent.com/62282a62fd483d2472bc9e500e2180d0a4ba5b949158dd8272fce5f67a0f13a1/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f7468657068706c65616775652f706870756e69742d636f7665726167652d6c697374656e65722f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/thephpleague/phpunit-coverage-listener?branch=master) [![Latest Stable Version](https://camo.githubusercontent.com/8753957029c9e68cb2b4fa8e32e0751baf08eb96054abdfa2b2f938807fa19d3/68747470733a2f2f706f7365722e707567782e6f72672f6c65616775652f706870756e69742d636f7665726167652d6c697374656e65722f762f737461626c652e706e67)](https://packagist.org/packages/league/phpunit-coverage-listener) [![Total Downloads](https://camo.githubusercontent.com/14b9a2277fac53535ddcf6de33551e2dcb526aec2c96cdb70b99816b73a21dd8/68747470733a2f2f706f7365722e707567782e6f72672f6c65616775652f706870756e69742d636f7665726167652d6c697374656e65722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/league/phpunit-coverage-listener)

PHPUnit Coverage Listener is a utility library that allow you to process the PHPUnit code-coverage information and send it into some remote location via cURL.

The main goal of the PHPunit Coverage Listener package is to provide a mechanism that generate a payload data (from PHPUnit code-coverage information) named `coverage.json` and send it to remote location, with bellow structure (simplified) :

```
{
    "repo_token": "s3cr3th4sh",
        "run_at": "2013-01-20 00:10:10 -0000",
        "source_files": [
        {
            "name": "Resource.php",
            "source": "
