PHP code example of prolic / humus-supervisor-module
1. Go to this page and download the library: Download prolic/humus-supervisor-module 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/ */
prolic / humus-supervisor-module example snippets
php
'humus_supervisor_module' => array(
'my-supervisor' => array(
'host' => 'localhost',
'port' => 19005,
'username' => 'user',
'password' => '123'
)
)
php
$manager = $serviceManager->get('HumusSupervisorModule\SupervisorManager');
$supervisor = $manager->get('demo-supervisor');
$supervisor->isRunning();