Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

andy-morgan/google-api-client-symfony-2.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Google API Client Wrapper

This wrapper makes injecting Google API Client (0.6.6) Libaries for Symfony easier.

Register the wrapper in the autoloader with registerNamespaces():

// app/autoload.php
// ...

$loader->registerNamespaces(array(
	'Google' => $vendor_root . '/google-api-client/lib'
));

Anywhere in the app, you can inject Google API helpers as needed:

// config/services.yml
// ...

GoogleClient:
    class: Google\Client
    arguments:
      - { application_name: MyApp, oauth2_client_id: %google.client_id% }

Refer to Google API PHP Client documentation for more details on usage and available helpers.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages