2017 © Pedro PelĂĄez
 

library google

Integration Google API into Nette Framework for better work with service accounts

image

kappa/google

Integration Google API into Nette Framework for better work with service accounts

  • Tuesday, September 9, 2014
  • by Budry
  • Repository
  • 2 Watchers
  • 0 Stars
  • 181 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Kappa\Google

Integration Google API into Nette Framework for better work with service accounts, (*1)

Requirements:

Installation:

The best way to install Kappa\Google is using Composer, (*2)

$ composer require kappa/doctrine:@dev

Usages

Configuration:

google:
    appName: "Your app name"
    scopes:
        - https://www.googleapis.com/auth/calendar
    clientId: "" # Your client ID
    email: "" # Your client email
    key: "" # path to key.p12 file

In presenter:

class BasePresenter  extends Presenter
{
    /**
     * @var \Kappa\Google\Accounts\ServiceAccount
     * @inject
     */
    public $serviceAccount

    public function actionDefault()
    {
        dump($this->serviceAccount->getClient()) // Returns logged client
        die();
    }

    // ...
}

The Versions

09/09 2014

dev-master

9999999-dev https://github.com/Kappa-org/Google

Integration Google API into Nette Framework for better work with service accounts

  Sources   Download

BSD-3-Clause

The Requires

 

api google nette

09/09 2014

v0.1.0

0.1.0.0 https://github.com/Kappa-org/Google

Integration Google API into Nette Framework for better work with service accounts

  Sources   Download

BSD-3-Clause

The Requires

 

api google nette