tkaratug/laravel-dashboard-trello-tile
Composer 安装命令:
composer require tkaratug/laravel-dashboard-trello-tile
包简介
Trello tile for Laravel Dashboard
README 文档
README
A tile for Laravel Dashboard that displays tasks from Trello.
Install
Via Composer
$ composer require tkaratug/laravel-dashboard-trello-tile
Usage
In the dashboard config file, you must add this configuration in the tiles key. The list_id should be any list id from Trello that you want to display on the dashboard.
// 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 you should schedule the Tkaratug\TrelloTile\Commands\FetchTrelloCardsCommand to run every x minutes.
// in app/console/Kernel.php protected function schedule(Schedule $schedule) { $schedule->command(\Tkaratug\TrelloTile\FetchTrelloCardsCommand::class)->everyThirtyMinutes(); }
In your dashboard view you use the livewire:trello-tile component.
<x-dashboard> <livewire:trello-tile position="a1" /> </x-dashboard>
You can specify the number of tasks you want to be displayed on your dashboard with count attribute.
<x-dashboard> <livewire:trello-tile position="a1" count="5" /> </x-dashboard>
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email tkaratug@hotmail.com.tr instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 41
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 16
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-12-20
