PHPackages                             ryangittings/pagespeed - 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. ryangittings/pagespeed

ActiveLibrary[API Development](/categories/api)

ryangittings/pagespeed
======================

A PHP library to interact with the PageSpeed Insights API

125PHP

Since May 3Pushed 7y agoCompare

[ Source](https://github.com/ryangittings/pagespeed)[ Packagist](https://packagist.org/packages/ryangittings/pagespeed)[ RSS](/packages/ryangittings-pagespeed/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PageSpeed Insights API
======================

[](#pagespeed-insights-api)

A PHP module to interact with the [PageSpeed Insights API](https://developers.google.com/speed/docs/insights/v2/getting-started).

Installation
============

[](#installation)

The best way to install the library is by using [Composer](http://getcomposer.org). Add the following to `composer.json` in the root of your project:

```
{
    "require": {
        "ryangittings/pagespeed": "dev-master"
    }
}
```

Then, on the command line:

```
curl -s http://getcomposer.org/installer | php
php composer.phar install
```

Use the generated `vendor/.composer/autoload.php` file to autoload the library classes.

Basic usage
===========

[](#basic-usage)

```
