A friendly explanation of what your tile does.
This tile can be used on the Laravel Dashboard.
You can install the package via composer:
composer require quaterloop/laravel-dashboard-google-page-speed-tile
In your dashboard view you use the livewire:google-page-speed-tile
component.
<x-dashboard>
<livewire:google-page-speed-tile position="e7:e16" />
</x-dashboard>
Use the php artisan command to fetch Page Speed data.
php artisan dashboard:fetch-google-page-speed-data
Use this snippet to schedule the command in app/Console/Commands/Kernel.php
$schedule->command(\Quaterloop\GooglePageSpeedTile\Commands\FetchGooglePageSpeedCommand::class)->everyMinute();
Insert this in routes/web.php - this enables the manual-refresh-button in tile
Route::get('/refresh', function() {
Artisan::call('dashboard:fetch-google-page-speed-data');
return back();
})->name('fetch-page-speed');
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email wallisch@skouz.de instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.