solarios/google

Google API bridge for Laravel 5
16
Install
composer require solarios/google
Latest Version:v1.0.0
PHP:>=5.5.9
License:MIT
Last Updated:Mar 24, 2016
Links: GitHub  ·  Packagist
Maintainer: dastin

Google API

A laravel wrapper for Google's API. It uses Laravel Manager as it's base.

Installation

Require it with Composer by running

composer require solarios/google

Add the following to the service providers in config/app.php.

Solarios\Google\GoogleServiceProvider::class,

There is also a facade available.

'Google' => Solarios\Google\Facades\Google::class,

To publish the configuration file, run

php artisan vendor:publish

Usage

Only the application authentication is currently supported (service provider/account).

Examples

$calendar = Google::calendar();

Returns the Google_Service_Calendar class.

$calendarList = $calendar->calendarList->listCalendarList();

Gets a list of calendars.