PHP code example of tkaratug / laravel-dashboard-trello-tile

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

    

tkaratug / laravel-dashboard-trello-tile example snippets


// in config/dashboard.php

return [
    // ...
    'tiles' => [
        'trello' => [
            'trello_key' => env('TRELLO_API_KEY'),
            'trello_token' => env('TRELLO_API_TOKEN'),
            'list_id' => env('TRELLO_LIST_ID'),
            'refresh_interval_in_seconds' => 30,
        ],
    ],
];

// in app/console/Kernel.php

protected function schedule(Schedule $schedule)
{
    $schedule->command(\Tkaratug\TrelloTile\FetchTrelloCardsCommand::class)->everyThirtyMinutes();
}