PHPackages                             cloak/cloak - 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. cloak/cloak

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

cloak/cloak
===========

Modern code coverage analysis library

2.2.0(10y ago)315.7k[6 issues](https://github.com/cloak-php/cloak/issues)4MITPHPPHP &gt;=5.5.0

Since Mar 1Pushed 10y agoCompare

[ Source](https://github.com/cloak-php/cloak)[ Packagist](https://packagist.org/packages/cloak/cloak)[ RSS](/packages/cloak-cloak/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (8)Dependencies (17)Versions (42)Used By (4)

Cloak
=====

[](#cloak)

[![Build Status](https://camo.githubusercontent.com/4a21f438d9dee966756368936c2f22461a18a1647149b9522bc655a44dfb9876/68747470733a2f2f7472617669732d63692e6f72672f636c6f616b2d7068702f636c6f616b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/cloak-php/cloak)[![Stories in Ready](https://camo.githubusercontent.com/d60069daa86d1aed481696757571ef95c64de0097517bd719662eecb48738ad4/68747470733a2f2f62616467652e776166666c652e696f2f636c6f616b2d7068702f636c6f616b2e706e673f6c6162656c3d7265616479267469746c653d5265616479)](https://waffle.io/cloak-php/cloak)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/05a5999a38eb83a285baceee6d68e638104f2f920a6ab151113464f0e779d98c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636c6f616b2d7068702f636c6f616b2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/cloak-php/cloak/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/d5da644987a0bb4d1abcb01d0ad942fe8d434a825731494f98ad4f544203f0fb/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f636c6f616b2d7068702f636c6f616b2f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/cloak-php/cloak?branch=master)[![Dependency Status](https://camo.githubusercontent.com/212fca9867e947961b7abb61b0c5ab51013ef9d04d4e021235fa15f039b31e58/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3533666435393338663464663135316664333030303030642f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/53fd5938f4df151fd300000d)

Cloak is a library that takes a code coverage.
This library works with **PHP5.5 or more**.

Requirements
------------

[](#requirements)

- xdebug &gt;= **2.2.2**

Installation
------------

[](#installation)

1. Install the [composer](https://getcomposer.org/).
2. Install the cloak.

    ```
     composer require cloak/cloak --dev

    ```

How to use
----------

[](#how-to-use)

### Setup for the report of code coverage

[](#setup-for-the-report-of-code-coverage)

Setup is required to take a code coverage.
You can use the **ConfigurationBuilder**, and to apply the settings to the analyzer.

```
