PHP code example of devlabor / laravel-dashboard-honeybadger-tile

1. Go to this page and download the library: Download devlabor/laravel-dashboard-honeybadger-tile 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/ */

    

devlabor / laravel-dashboard-honeybadger-tile example snippets


// in config/dashboard.php

return [
    // ...
    'tiles' => [
        'honeybadger' => [
            //'description' => 'Unresolved faults',
            'auth_token' => env('HONEYBADGER_AUTH_TOKEN'),
            'refresh_interval_in_seconds' => 300
        ],
    ],
];

// in app/console/Kernel.php

protected function schedule(Schedule $schedule)
{
    // ...
    $schedule->command(\DevLabor\HoneybadgerTile\Commands\FetchHoneybadgerProjectsCommand::class)->everyFiveMinutes();
}
bash
php artisan dashboard:fetch-honeybadger-projects
bash
php artisan vendor:publish --provider="DevLabor\HoneybadgerTile\HoneybadgerTileServiceProvider" --tag="dashboard-honeybadger-tile-views"