PHP code example of holyshared / peridot-temporary-plugin
1. Go to this page and download the library: Download holyshared/peridot-temporary-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/ */
holyshared / peridot-temporary-plugin example snippets
use holyshared\peridot\temporary\TemporaryPlugin;
return function(EventEmitterInterface $emitter)
{
TemporaryPlugin::create()->registerTo($emitter);
};