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

ActiveLibrary[API Development](/categories/api)

c4pone/pagespeed-parser
=======================

php module to parse pagespeed insights api results

475PHP

Since Oct 28Pushed 8y agoCompare

[ Source](https://github.com/c4pone/pagespeed-parser)[ Packagist](https://packagist.org/packages/c4pone/pagespeed-parser)[ RSS](/packages/c4pone-pagespeed-parser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#pagespeed-insights-api-parser)

This simple php module parses the results from [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": {
        "c4pone/pagespeed-parser": "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)

For easy usage we use the pagespeed insights api client from [sgrodzicki](https://github.com/sgrodzicki/pagespeed)

```
