Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

cloak-php/peridot-cloak-plugin

Repository files navigation

peridot-cloak-plugin

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);
};