Solarios / Google by dastin

Google API bridge for Laravel 5
15
0
2
Package Data
Maintainer Username: dastin
Package Create Date: 2016-03-24
Package Last Update: 2016-03-24
Language: PHP
License: MIT
Last Refreshed: 2025-02-17 03:08:57
Package Statistics
Total Downloads: 15
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

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.