Skip to content
PHP samples for G Suite products.
PHP Shell
Branch: master
Clone or download
bshaffer and asrivas adds docs api samples (#47)
* Add Docs quickstart (from DevSite)

* adds docs api samples

* makes cache compatible with php 5.6

* updates tests for docs samples

* uses environment variable to determine credentials.json location

* addresses review comments

* new lines
Latest commit b00fd29 Aug 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create ISSUE_TEMPLATE.md Jul 23, 2018
admin-sdk Clarify where token.json comes from. Nov 8, 2018
apps-script
calendar/quickstart Clarify where token.json comes from. Nov 8, 2018
classroom/quickstart Clarify where token.json comes from. Nov 8, 2018
docs adds docs api samples (#47) Aug 24, 2019
drive Update Drive Activity v2 sample code to use the new "drive" elements. May 2, 2019
gmail/quickstart Clarify where token.json comes from. Nov 8, 2018
people/quickstart Clarify where token.json comes from. Nov 8, 2018
sheets Update some values in pivot table snippets to reflect the new example. Jan 3, 2019
slides Update SlidesSnippets.php Aug 12, 2019
tasks/quickstart Clarify where token.json comes from. Nov 8, 2018
vault/quickstart Clarify where token.json comes from. Nov 8, 2018
.gitignore Change the file names expected for developer credentials, and other f… Jul 16, 2018
.php_cs.dist Adds CS check to travis, fixes CS (#2) Mar 19, 2018
.travis.yml Remove 5.6 from Travis May 14, 2018
CONTRIBUTING Add CONTRIBUTING Mar 12, 2018
LICENSE Adds Calendar, Drive, Sheets, and Slides quickstarts and snippets. No… Mar 12, 2018
README.md Move badge to title Mar 20, 2018
test.sh adds docs api samples (#47) Aug 24, 2019

README.md

G Suite PHP Samples Build Status

A collection of samples that demonstrate how to call G Suite APIs from PHP.

Products

Apps Script

Calendar

Drive

Gmail

Sheets

Slides

Install Dependencies

Install dependencies via Composer. Composer should be installed globally to run these samples.

Lint

 composer global require friendsofphp/php-cs-fixer
 ~/.composer/vendor/bin/php-cs-fixer fix .
You can’t perform that action at this time.