solarios/google
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.