2017 © Pedro Peláez
 

library php-google-pagespeed-api

PHP Google PageSpeed API Micro Client.

image

ssx/php-google-pagespeed-api

PHP Google PageSpeed API Micro Client.

  • Tuesday, June 13, 2017
  • by ssx
  • Repository
  • 1 Watchers
  • 0 Stars
  • 39 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 4 Versions
  • 3 % Grown

The README.md

Circle CI StyleCI, (*1)

PHP Google PageSpeed API

This is a tiny micro client for making calls to the Google Pagespeed API which returns some interesting data about the given URL., (*2)

To get started, create an instance like so:, (*3)

$insights = new SSX\API\Google\PageSpeed\ApiClient("https://dor.ky");

This will give you an instance of the class. The two implemented functions so far are $insights->getScreenshot() to return a JPG image of the site and $insights->getRaw() which will return the raw data back from the API call., (*4)

Use an API Key

I'd recommend you setup and use an API key for use in production, you can add it as the second parameter on construction to use:, (*5)

$insights = new SSX\API\Google\PageSpeed\ApiClient("https://dor.ky","api-key-goes-here");

License

This project is licensed under an Apache 2.0 license which you can find within this repository in the LICENSE file., (*6)

Feedback

If you have any feedback, comments or suggestions, please feel free to open an issue within the repository on Github., (*7)

The Versions

13/06 2017

dev-master

9999999-dev

PHP Google PageSpeed API Micro Client.

  Sources   Download

Apache-2.0

The Development Requires

13/06 2017

1.0.2

1.0.2.0

PHP Google PageSpeed API Micro Client.

  Sources   Download

Apache-2.0

The Development Requires

13/06 2017

1.0.1

1.0.1.0

PHP Google PageSpeed API Micro Client.

  Sources   Download

Apache-2.0

The Development Requires

13/06 2017

1.0.0

1.0.0.0

PHP Google PageSpeed API Micro Client.

  Sources   Download

Apache-2.0

The Development Requires