PHP code example of mattyeend / health-status

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

    

mattyeend / health-status example snippets


'pings' => [
    [
        'name' => 'google',
        'host' => '8.8.8.8',
        'port' => 53,
        'timeout' => 2,
    ],
],

protected function schedule(Schedule $schedule): void
{
    $schedule->command('healthstatus:cron-heartbeat')->everyMinute();
}

use Illuminate\Support\Facades\Schedule;

Schedule::command('healthstatus:cron-heartbeat')->everyMinute();

'middleware' => ['auth.basic'],
bash
php artisan vendor:publish --provider="MattYeend\HealthStatus\HealthStatusServiceProvider" --tag=config
php artisan vendor:publish --provider="MattYeend\HealthStatus\HealthStatusServiceProvider" --tag=views