Developed with love by KnpLabs Hire us for your project!
23

GoogleApiBundle

by Happyr

A Symfony2 Wrapper for the Google APIs Client Library for PHP

Google API Bundle

A symfony2 bundle to communicate to Google API. This bundle is a Symfony2 wrapper for the google apiclient.
There are some services not yet implemented. Please submit a PR and I'm happy to merge.

Installation

Step 1: Using Composer

Install it with Composer!

// composer.json
{
    // ...
    require: {
        // ...
        "happyr/google-api-bundle": "~2.1",
    }
}

Then, you can install the new dependencies by running Composer's update
command from the directory where your composer.json file is located:

$ php composer.phar update

Step 2: Register the bundle

To register the bundles with your kernel:

<?php

// in AppKernel::registerBundles()
$bundles = array(
    // ...
    new HappyR\Google\ApiBundle\HappyRGoogleApiBundle(),
    // ...
);

Step 3: Configure the bundle

# app/config/config.yml
# you will get these parameters form https://code.google.com/apis/console/"
happy_r_google_api:
  application_name: MySite
  oauth2_client_id: 
  oauth2_client_secret: 
  oauth2_redirect_uri: 
  developer_key: 
  site_name: mysite.com
happy_r_google_api:
application_name: ~ # Required
oauth2_client_id: ~ # Required
oauth2_client_secret: ~ # Required
oauth2_redirect_uri: ~ # Required
developer_key: ~ # Required
site_name: ~ # Required
authClass: ~
ioClass: ~
cacheClass: ~
basePath: ~
ioFileCache_directory: ~
  • Updated master alias
    By Nyholm, 2 years ago
  • Updated version
    By Nyholm, 2 years ago
  • Update README.md
    By Nyholm, 2 years ago
  • Merge pull request #9 from garak/patch-9
    By Nyholm, 2 years ago
  • Fix YoutubeService to be compatible with latest API
    By garak, 2 years ago
  • Merge pull request #6 from garak/patch-2
    By Nyholm, 2 years ago
  • Update composer.json
    By garak, 2 years ago
  • Merge pull request #5 from garak/master
    By Nyholm, 2 years ago
  • add Youtube service
    By garak, 2 years ago
  • Merge pull request #4 from garak/patch-1
    By Nyholm, 2 years ago
  • Update .gitignore
    By garak, 2 years ago
  • Update composer.json
    By Nyholm, 3 years ago
  • added travis
    By Nyholm, 3 years ago
  • PSR-2 fixes and updated readme
    By Nyholm, 3 years ago
  • Updated links
    By Nyholm, 3 years ago
  • Minor
    By Nyholm, 3 years ago
  • Added dev-master
    By Nyholm, 3 years ago
  • Changed dependency from Nyholm fork to the official Google Client repo
    By Nyholm, 3 years ago
  • Removed geocoder and put those in an other repo
    By Nyholm, 4 years ago
  • Added homepage
    By Nyholm, 4 years ago
  • Added more docs
    By Nyholm, 4 years ago
  • updated deps
    By Nyholm, 4 years ago
  • updated deps
    By Nyholm, 4 years ago
  • minor fix
    By Nyholm, 4 years ago
  • removed evert and added nyholm
    By Nyholm, 4 years ago
  • added dummy test
    By Nyholm, 4 years ago
  • added mockery
    By Nyholm, 4 years ago
  • prepared for ant
    By Nyholm, 4 years ago
  • Removed default values and start to trust the API
    By Nyholm, 4 years ago
  • Merge branch 'master' of git://github.com/HappyR/GoogleApiBundle
    By Nyholm, 4 years ago