kuma-guy/google-module

dev-master 2016-07-13 16:00 UTC

This package is auto-updated.

Last update: 2024-11-26 18:53:44 UTC


README

Build Status

google-api-php-client module for Ray.Di

Installation

Composer install

$ composer require kuma-guy/google-module

Module install

use Ray\Di\AbstractModule;
use Ray\GoogleModule\GoogleModule;

class AppModule extends AbstractModule
{
    protected function configure()
    {
        $config = [
            'client_id' => 'your-client-id',
            'client_secret' => 'your-client-secret'
        ];
        $this->install(new GoogleModule($config));
    }
}

DI trait