shineunited / googleclient
Tools for Google API Client
v1.0.0
2015-05-20 17:09 UTC
Requires
- php: >=5.4.0
- google/apiclient: ^1.1
Requires (Dev)
- phpunit/phpunit: ^4.6
- silex/silex: ^1.2
This package is auto-updated.
Last update: 2024-11-15 01:53:22 UTC
README
Installation
Install Composer
$ curl -sS https://getcomposer.org/installer | php
Require Google Client Library
$ composer require shineunited/googleclient
Usage
Silex
To use the Google Client with Silex, register the service provider:
use ShineUnited\GoogleClient\Silex\GoogleClientServiceProvider; $app->register(new GoogleClientServiceProvider(), [ 'gapi.options' => [ ... ] ]);
Options
application_name (string)
client_id (string)
client_secret (string)
redirect_url (string)
access_type (string)
approval_prompt (string)
developer_key (string)
scope (string)
scopes (array)