Skip to content

A PHP module to interact with the PageSpeed Insights API.

License

Notifications You must be signed in to change notification settings

youlead-bow/pagespeed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PageSpeed Insights API

A PHP module to interact with the PageSpeed Insights API on Symfony project.

Installation

The best way to install the library is by using Composer. Add the following to composer.json in the root of your project:

{
    "require": {
        "youlead-bow/pagespeed": "~1.0"
    }
}

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

<?php

$pageSpeed = new PageSpeed\Service();
$pageSpeed->getResults('http://www.example.com');

About

A PHP module to interact with the PageSpeed Insights API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages