PHP code example of grazulex / laravel-chronoview

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

    

grazulex / laravel-chronoview example snippets


Event::listen(TaskRunFailed::class, fn ($e) => Notification::route('slack', '…')->notify(new TaskFailed($e->run)));
Event::listen(TaskRunMissed::class, fn ($e) => /* $e->run->task->name, $e->run->expected_at */);
Event::listen(SchedulerDown::class, fn ($e) => /* $e->hostname, $e->lastBeatAt */);