quarterloop/laravel-dashboard-w3c-validator-tile

用于 Laravel Dashboard 的 W3C 验证器瓷砖

v1.1.2 2022-12-06 12:09 UTC

This package is auto-updated.

Last update: 2024-09-06 15:52:20 UTC


README

对您的瓷砖功能进行友好的解释。

此瓷砖可用于 Laravel Dashboard

安装

您可以通过 composer 安装此包

composer require quarterloop/laravel-dashboard-dns-tile

用法

在您的仪表板视图中,您使用 livewire:google-page-speed-tile 组件。

<x-dashboard>
    <livewire:google-page-speed-tile position="e7:e16" />
</x-dashboard>

使用 php artisan 命令获取页面速度数据。

php artisan dashboard:fetch-google-page-speed-data

使用以下片段在 app/Console/Commands/Kernel.php 中安排命令

$schedule->command(\Quarterloop\DNSTile\Commands\FetchDNSCommand::class)->daily();

同样,在 app/console/kernel.php 中 "$commands" 的新行下添加以下代码片段

\Quarterloop\DNSTile\Commands\FetchDNSCommand::class,

在 routes/web.php 中插入此内容 - 这启用了瓷砖中的手动刷新按钮

Route::get('/refresh-dns', function() {
  Artisan::call('dashboard:fetch-dns-data');
  return back();
})->name('fetch-dns');

测试

composer test

变更日志

请参阅 CHANGELOG 了解最近更改的详细信息。

贡献

请参阅 CONTRIBUTING 了解详情。

安全

如果您发现任何与安全相关的问题,请通过电子邮件 wallisch@skouz.de 而不是使用问题跟踪器。

鸣谢

许可证

MIT 许可证 (MIT)。请参阅 许可证文件 了解更多信息。