rahbod / rahbod-google-api
Google OAuth And Google Calendar Classes for use google api.
Installs: 75
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/rahbod/rahbod-google-api
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2025-11-03 21:45:58 UTC
README
Installation & loading
composer require rahbod/rahbod-google-api:dev-master
setup config.json file:
{
"client_id": "", // get from google console
"client_secret": "", // get from google console
"auth_redirect_uri": "", // redirect url
"auth_scopes": [
"https://www.googleapis.com/auth/calendar",
"https://www.googleapis.com/auth/drive",
.
.
],
"debug_mode": true
}
A Simple Example
<?php require 'vendor/autoload.php'; $services = new GoogleServices(); $calendar = $services->calendar; $drive = $services->drive; ?>