PHP code example of peridot-php / peridot-dot-reporter

1. Go to this page and download the library: Download peridot-php/peridot-dot-reporter library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

peridot-php / peridot-dot-reporter example snippets




use Evenement\EventEmitterInterface;
use Peridot\Reporter\Dot\DotReporterPlugin;

return function(EventEmitterInterface $emitter) {
    $dot = new DotReporterPlugin($emitter);
};

$ composer