2017 © Pedro Peláez
 

project google-api-sample

Google API Client Libraries with Google service samples for PHP

image

yidas/google-api-sample

Google API Client Libraries with Google service samples for PHP

  • Friday, July 13, 2018
  • by yidas
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Google API Client PHP Sample

Google API Client Libraries with Google service samples for PHP, (*1)

Latest Stable Version Latest Unstable Version License, (*2)


INSTALLATION

1. Download the Project

Composer download:, (*3)

composer create-project --prefer-dist yidas/google-api-sample

You could download by git clone or by zip file alternatively., (*4)

2. Google API Credential

In Google API Console, you need to set a credential including pointing web root URL to Authorized redirect URIs likes http://{thisPackage}/www/callback.php, and then enable APIs such as Google+ API, Calendar API and Drive API in Library., (*5)

Then download the credential JSON file then rename and place it to {thisPackage}/files/client_secret.json., (*6)


LIBRARIES INCLUSION

  • User Component, (*7)

  • Google Calendar API Component, (*8)


GOOGLE SERVICES DEMONSTRATION

  • Google Plus
    For getting Google User information., (*9)

  • Calendar, (*10)

  • Drive, (*11)


ADDITIONS

Guzzle SSL Verify Problem

If you are using Windows as service server, you may deal with SSL certificate problem., (*12)

This problem could be solved by modifing vendor/google/apiclient/src/Google/Client.php:, (*13)

// For windows PHP cURL
$options['verify'] = false;

This app isn’t verified Problem

Google – OAuth Client Verification, (*14)

The Versions

13/07 2018

dev-master

9999999-dev https://github.com/yidas/google-api-sample

Google API Client Libraries with Google service samples for PHP

  Sources   Download

MIT

The Requires

 

php sdk google api google client google services

13/06 2018

0.1.0

0.1.0.0 https://github.com/yidas/google-api-sample

Google API Client Libraries with Google service samples for PHP

  Sources   Download

MIT

The Requires

 

php sdk google api google client google services