Skip to content

GayanAkmeemana/google_drive_api

Repository files navigation

Google Drive API using with PHP

Demo
https://gatech.lk/sliitssoauth/

This document will provide basic information to use this repository.

Setup Google Project

  1. If you already have google account login to it or create a new Google accuont. sign up.
  2. Then login to the Google Developers Console and create a Google API Project.
  3. Generate Client ID and Secret Key

Run the project

Download the project and copy in the the server folder. Then set the following settings in the config.php in the config folder.

// Google API configuration 
define('GOOGLE_CLIENT_ID', '< YOUR APP CLIENT ID >'); 
define('GOOGLE_CLIENT_SECRET', '< YOUR APP SECRET KEY >'); 
define('GOOGLE_OAUTH_SCOPE', 'https://www.googleapis.com/auth/drive'); 
define('REDIRECT_URI', '< YOUR REDIRECT URI >'); 

Then you can run the project.

About

Implement Google Drive API with PHP

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors