PageSpeed Insights
PageSpeed Insights score tracking for Laravel. It records Core Web Vitals and Lighthouse scores over time, shows historical trends, alerts you to regressions, and ships ready-made components for Livewire, React and Vue.
v1.0.0
MIT License
★ 0
composer require artisanpack-ui/pagespeed-insights
$ composer require artisanpack-ui/pagespeed-insights
✓ Service provider auto-discovered
$ php artisan migrate
✓ Score history tables created
What it does
Know when your site gets slower
A single PageSpeed test is a snapshot. Tracking scores over time shows you when a release made things worse.
Core Web Vitals
Records Core Web Vitals for the pages you track.
Lighthouse scores
Stores Lighthouse scores alongside each run.
Historical trends
Charts how scores change over time, page by page.
Regression alerts
Alerts you when a score drops.
Livewire, React and Vue
Ready-made components for showing scores and trends in your admin.
Your own history
Results are stored in your database, so your history isn't limited to Google's latest run.
Get started
Install and start tracking
Install the package, run the migrations, then add the pages you want to track.
1 · Install
composer require artisanpack-ui/pagespeed-insights
2 · Create the tables
php artisan migrate
Requirements
What you need
| Requirement | Detail |
|---|---|
| Laravel | With migrations and the scheduler running |
| Frontend | Livewire, React or Vue for the bundled components |
| API key and scheduling setup are covered in the documentation. | |
Track your scores with PageSpeed Insights
Core Web Vitals and Lighthouse history, regression alerts and admin components. Free and open source under the MIT license.
