PHP code example of jildertmiedema / laravel-system-monitor
1. Go to this page and download the library: Download jildertmiedema/laravel-system-monitor 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/ */
jildertmiedema / laravel-system-monitor example snippets
protected function schedule(Schedule $schedule)
{
$schedule->command('measurement:run')->everyMinute();
}
php artisan vendor:publish --tag="config"
use JildertMiedema\SystemMonitor\Measurements\Manager;
$this->app->resolving('measurement', function (Manager $manager) {
$manager->extend($this->app[YourMeasurementClass::class]);
});
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.