spie / google-service-provider
Google service provider for Laravel.
Installs: 28
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/spie/google-service-provider
Requires
- php: >7.1.3
- google/apiclient: ^2.2
- illuminate/container: ^5.6
- illuminate/support: ^5.6
Requires (Dev)
- fzaninotto/faker: ~1.4
- phpunit/phpunit: ~7.0
This package is auto-updated.
Last update: 2025-10-17 00:08:59 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.