spie/google-service-provider

Google service provider for Laravel.

v0.1.1 2018-08-10 12:02 UTC

This package is auto-updated.

Last update: 2024-05-16 20:58:16 UTC


README

A Laravel and Lumen service provider for the Google Client API.

Usage

Laravel

Add SPie\GoogleServiceProvider\LaravelGoogleServiceProvider::class to the service provider array in the app config.

Lumen

Register the LumenGoogleServiceProvider in the bootstrap/app.php file.

$app->register(SPie\GoogleServiceProvider\LumenGoogleServiceProvider);

Config

You can copy the google.php config file and change what ever config value you need.

Client Config

For the Google_Client config you can change the values in the client array or use the environment variables in the .env.example file.

Services Config

Add the needed service class names to the services array.