PHPackages                             pmmotors/google-apiclient - 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. pmmotors/google-apiclient

ActiveLibrary[API Development](/categories/api)

pmmotors/google-apiclient
=========================

Google api php client wrapper with Cloud Platform and Laravel 4 &amp; 5 support

3.1.6(8y ago)0196MITPHPPHP &gt;=5.4.0

Since Jan 25Pushed 8y agoCompare

[ Source](https://github.com/pmmotors/google-apiclient)[ Packagist](https://packagist.org/packages/pmmotors/google-apiclient)[ Docs](https://github.com/pmmotors/google-apiclient)[ RSS](/packages/pmmotors-google-apiclient/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (17)Used By (0)

Google Api Client Wrapper
=========================

[](#google-api-client-wrapper)

> Google api php client wrapper with Cloud Platform and Laravel 4 &amp; 5 support

Requirements
------------

[](#requirements)

This package requires PHP &gt;=5.4

Installation
------------

[](#installation)

Install via composer - edit your `composer.json` to require the package.

```
"require": {
    "pmmotors/google-apiclient": "3.*"
}
```

Then run `composer update` in your terminal to pull it in.

Or use `composer require pmmotors/google-apiclient`

Laravel
-------

[](#laravel)

To use in laravel add the following to the `providers` array in your `config/app.php`

```
PmMotors\Google\GoogleServiceProvider::class
```

Next add the following to the `aliases` array in your `config/app.php`

```
'Google' => PmMotors\Google\Facades\Google::class
```

Finally run `php artisan vendor:publish --provider="PmMotors\Google\GoogleServiceProvider" --tag="config"` to publish the config file.

#### Looking for a Laravel 4 compatible version?

[](#looking-for-a-laravel-4-compatible-version)

Checkout the [1.0 branch](https://github.com/pmmotors/google-apiclient/tree/1.0)

Usage
-----

[](#usage)

The `Client` class takes an array as the first parameter, see example of config file below:

```
