PHP code example of org_heigl / phergie-logger-plugin

1. Go to this page and download the library: Download org_heigl/phergie-logger-plugin 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/ */

    

org_heigl / phergie-logger-plugin example snippets

$config->addLogger($logger, '#channelname');
5. add the plugin to the plugins-array: