PHP code example of sw2eu / hotplug

1. Go to this page and download the library: Download sw2eu/hotplug 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/ */

    

sw2eu / hotplug example snippets


$configurator = new Sw2\Hotplug\Configurator;

$configurator->addPluginDirectory(__DIR__ . '/../src/Plugins');
// place before
$configurator->addConfig(...);