# Examples for Google APIs Client Library for PHP #

## How to run the examples ##

1. Following the [Installation Instructions](../README.md#installation)
1. Run the PHP built-in web server. Supply the `-t` option to point to this directory:

    ```
    $ php -S localhost:8000 -t examples/
    ```

1. 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
