Skip to content

Files

Latest commit

9b293e9 · Jun 7, 2019

History

History
19 lines (12 loc) · 582 Bytes
·

README.md

File metadata and controls

19 lines (12 loc) · 582 Bytes
·

Examples for Google APIs Client Library for PHP

How to run the examples

  1. Following the Installation Instructions

  2. Run the PHP built-in web server. Supply the -t option to point to this directory:

    $ php -S localhost:8000 -t examples/
    
  3. Point your browser to the host and port you specified, i.e http://localhost:8000.

G Suite OAuth Samples

G Suite APIs such as Slides, Sheets, and Drive use 3-legged OAuth authentification. Samples using OAuth can be found here:

https://github.com/gsuitedevs/php-samples