2017 © Pedro Peláez
 

library google-api-service-provider

Google API Service Provider for Silex

image

junker/google-api-service-provider

Google API Service Provider for Silex

  • Sunday, August 20, 2017
  • by Junker
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

GoogleApiServiceProvider

Google API Service Provider for Silex, (*1)

Installation

The best way to install HandlerSocketServiceProvider is to use a Composer:, (*2)

composer require junker/google-api-service-provider

Usage

    $app->register(new Junker\Silex\Provider\GoogleApiServiceProvider(), [
        'google.api.client.id' => '22166332432432113784.apps.googleusercontent.com', #optional
        'google.api.client.secret' => 'qa4R-T3-K7p4hWGtZ1SVpMlr.apps.googleusercontent.com', #optional
        'google.api.client.scopes' => ['https://www.googleapis.com/auth/userinfo.profile'], #optional

        'google.api.service.key_file' => __DIR__.'/../google.json', #optional
        'google.api.service.scopes' => __DIR__.'/../google.json', #optional

        'google.api.developer.key' => 'AIzgSyrQTNQ-kNhhwVYjTLakWEW_T89zbCvzYS8', #optional
    ]);

    $oauth_client = $app['google.api.client'];
    $service_client = $app['google.api.service'];
    $developer_client = $app['google.api.developer'];

Documentation

  • https://github.com/google/google-api-php-client

The Versions

20/08 2017

dev-master

9999999-dev

Google API Service Provider for Silex

  Sources   Download

MIT

The Requires

 

by Dmitry Kosenkov

api silex google gdata