cloak/peridot-cloak-plugin

2.0.1 2015-12-05 06:20 UTC

README

Cloak for peridot-php

Latest Stable Version Latest Unstable Version License

Build Status HHVM Status Scrutinizer Code Quality Coverage Status Dependency Status

Installation

Installation that uses the composer.

  1. Install the composer.

  2. Install the package.

     composer require cloak/peridot-cloak-plugin --dev
    

Basic usage

It can be used by simply append the set to peridot.php.

use cloak\peridot\CloakPlugin;

return function(EventEmitterInterface $emitter) {
    CloakPlugin::create('cloak.toml')->registerTo($emitter);
};