PHP code example of deegitalbe / laravel-trustup-io-health-checker

1. Go to this page and download the library: Download deegitalbe/laravel-trustup-io-health-checker 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/ */

    

deegitalbe / laravel-trustup-io-health-checker example snippets


'result_stores' => [
    /*
    Spatie\Health\ResultStores\EloquentHealthResultStore::class => [
    'model' => Spatie\Health\Models\HealthCheckResultHistoryItem::class,
    'keep_history_for_days' => 5,
    ],

    Spatie\Health\ResultStores\CacheHealthResultStore::class => [
        'store' => 'file',
    ],

    Spatie\Health\ResultStores\JsonFileHealthResultStore::class => [
        'disk' => 's3',
        'path' => 'health.json',
    ],
    */
    
    Spatie\Health\ResultStores\InMemoryHealthResultStore::class,
],
bash
php artisan vendor:publish --tag="health-config"