PHP code example of attek / container_usage

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

    

attek / container_usage example snippets


'modules' => [
    'container_usage' => [
            'class' => 'attek\usage\Module',                        
            'adminEmail' => '',
            'senderEmail' => '',            
            'maxUsers' => 10,
            'memoryUsageInPercent' => 4,
            'phpContainerRebooted' => true,
            'sqlContainerRebooted' => true,
            'sms_service_url' => '',
            'sms_auth_user' => '',
            'sms_auth_pass' => '',            
            'adminPhone' => ''              
    ]
]

php yii container_usage/usage

php composer.phar