solarios/google

Google API bridge for Laravel 5

v1.0.0 2016-03-24 09:58 UTC

This package is not auto-updated.

Last update: 2024-05-11 17:12:24 UTC


README

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.