jonlynch/response-tile
Composer 安装命令:
composer require jonlynch/response-tile
包简介
A package to add responses to the dashboard
README 文档
README
This tile can be used on the Laravel Dashboard.
Installation
You can install the package via composer:
$ composer require jonlynch/response-tile
Usage
In your dashboard view you use the livewire:response-tile component.
<x-dashboard>
<livewire:response-tile position="a1:a2"/>
</x-dashboard>
Add the config to the tiles sections of your config/dashboard.php
// in config/dashboard.php
return [
// ...
tiles => [
'response' => [
'url' => env('RESPONSE_URL'),
],
]
In app\Console\Kernel.php you should schedule the JonLynch\UkWeatherTile\Commands\FetchMetOfficeDataCommand to run every minute.
// in app\Console\Kernel.php
protected function schedule(Schedule $schedule)
{
$schedule->command(\JonLynch\UkWeatherTile\Commands\FetchResponseDataCommand::class)->everyMinute();
}
Security
If you discover any security related issues, please email :author_email instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 47
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-10