PHPackages                             calderawp/page-speed - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. calderawp/page-speed

ActiveLibrary[API Development](/categories/api)

calderawp/page-speed
====================

Get Google Page Speed data for a given URL

2172PHP

Since Aug 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/CalderaWP/page-speed)[ Packagist](https://packagist.org/packages/calderawp/page-speed)[ RSS](/packages/calderawp-page-speed/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Turn URL into Google PageSpeed Results
======================================

[](#turn-url-into-google-pagespeed-results)

**Requires PHP7**

Install
-------

[](#install)

`composer require calderawp/speed`

Usage
-----

[](#usage)

Get API key and such [https://developers.google.com/speed/docs/insights/v1/getting\_started](https://developers.google.com/speed/docs/insights/v1/getting_started)

```
 	use calderawp\speed\Client;

 	$key = 'YOUR KEY';
 	$url = 'https://calderawp.com';
 	$client = new Client( $url, $key );
 	try {
 		//If succesful you will have results as stdClass
 		$response = $client->query();
 	}catch( \Exception $e ){
 		return $e->getMessage();
 	}

 	//Get object of calderawp\speed\Result from results
 	//Try/catch above was to prevent this running without valid data, which would make fatal error, which is bad.
 	$result = $client->get_result();

```

### Copyright 2016 CalderaWP LLC &amp; Josh Pollock. Licensed under the terms of the GNU GPL version 2 or later. Please share with your neighbor.

[](#copyright-2016-calderawp-llc--josh-pollock-licensed-under-the-terms-of-the-gnu-gpl-version-2-or-later-please-share-with-your-neighbor)

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ca938daf3f2a666cd32c7bdb6e30714da6fe0e6cd5012fe4864b18afae43fbcd?d=identicon)[Shelob9](/maintainers/Shelob9)

---

Top Contributors

[![Shelob9](https://avatars.githubusercontent.com/u/1994311?v=4)](https://github.com/Shelob9 "Shelob9 (1 commits)")

### Embed Badge

![Health badge](/badges/calderawp-page-speed/health.svg)

```
[![Health](https://phpackages.com/badges/calderawp-page-speed/health.svg)](https://phpackages.com/packages/calderawp-page-speed)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
