// Open source package

PageSpeed Watcher

Apogee-Information-Systems / pagespeed-watcher

Open-source Laravel package to run Google PageSpeed Insights (PSI) checks for your app pages. Validate API connectivity, track daily usage, and schedule performance tests — all from Artisan commands and a ready-made database schema.

// Features

  • CLI commands for API validation and page performance tests
  • Daily usage tracking with cost estimates beyond the free tier
  • Configurable rate limits, timeouts, and performance score thresholds
  • Database schema for pages, test results, settings, and API usage
  • Scheduled daily tests with URL discovery support

// Quick start

composer require apogee/laravel-pagespeed-watcher

php artisan vendor:publish --tag=watcher-config
php artisan vendor:publish --tag=watcher-migrations
php artisan migrate

php artisan watcher:test-page
php artisan watcher:usage

// Commands

watcher:test-page

Run a PageSpeed Insights test to validate API connectivity and analyze page performance. Supports --strategy=mobile|desktop and --url= options.

watcher:usage

Monitor your PageSpeed Insights API usage — today's totals and the last seven days with cost estimates.

APOGEE INFORMATION SYSTEMS · GitHub