PHP code example of istvan0304 / usage
1. Go to this page and download the library: Download istvan0304/usage 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/ */
istvan0304 / usage example snippets
'modules' => [
'container_usage' => [
'class' => 'istvan0304\usage\Module',
'nagiosFilePath' => '/nagios',
'nagiosFileName' => 'watch.txt',
'watchThreads' => true,
'memoryWatch' => true,
'phpContainerRebooted' => true,
'sqlContainerRebooted' => true,
'volumes' => []
]
]
php yii container_usage/usage
php composer.phar