quarterloop / laravel-dashboard-google-page-speed-tile
A google page speed tile for the Laravel Dashboard
Requires
- php: ^8.0|^7.4
- spatie/laravel-dashboard: ^2.0
Requires (Dev)
- phpunit/phpunit: ^9.3
- dev-main
- v1.4.11
- v1.4.10
- v1.4.9
- v1.4.8
- v1.4.7
- v1.4.6
- v1.4.5
- v1.4.4
- v1.4.3
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.13
- v1.0.12
- v1.0.11
- v1.0.10
- v1.0.9
- v1.0.8
- v1.0.7
- v1.0.6-alpha
- v1.0.5-alpha
- v1.0.4-alpha
- v1.0.3-alpha
- v1.0.2-alpha
- v1.0.1-alpha
- v1.0-alpha
This package is auto-updated.
Last update: 2025-03-06 17:40:58 UTC
README
A friendly explanation of what your tile does.
This tile can be used on the Laravel Dashboard.
Installation
You can install the package via composer:
composer require quarterloop/laravel-dashboard-google-page-speed-tile
Usage
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(\Quarterloop\GooglePageSpeedTile\Commands\FetchGooglePageSpeedCommand::class)->twiceDaily();
Also add the following code snippet in app/console/kernel.php under "$commands" in a new line:
\Quarterloop\GooglePageSpeedTile\Commands\FetchGooglePageSpeedCommand::class,
Insert this in routes/web.php - this enables the manual-refresh-button in tile
Route::get('/refresh-page-speed', function() { Artisan::call('dashboard:fetch-google-page-speed-data'); return back(); })->name('fetch-page-speed');
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email wallisch@skouz.de instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.