2017 © Pedro Peláez
 

library google-contacts

The missing PHP Google Contact API Client for a Server-to-Server Application

image

amaughan81/google-contacts

The missing PHP Google Contact API Client for a Server-to-Server Application

  • Tuesday, February 14, 2017
  • by amaughan81
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Google Contacts API V3 Client

This is the missing PHP Client for managing a user's contacts using Google Contacts V3 API, (*1)

Features

  • List All Contacts
  • Get a Single Contact
  • Search Contacts
  • Get a Contact Photo
  • Create / Update / Delete Contact
  • Batch Create / Update / Delete Contacts

Installation

In your compose.json file add the following requirements:, (*2)

{
    "require": {
      "google/apiclient": "^2.0",
      "google/apiclient-services" : "dev-master",
      "guzzlehttp/guzzle": "^6.2"
    },
  "autoload": {
    "psr-4": {
      "amaughan81\\": "vendor/amaughan81/GoogleContacts/src/"
    }
  }
}

Then run composer update, (*3)

Setup

Note this application is designed for a server-to-server scenario, so a bit of extra coding will be needed if you are using this application in other scenarios., (*4)

  1. Run git clone https://github.com/amaughan81/GoogleContacts amaughan81/GoogleContacts
  2. Ensure the required dependencies are installed. See above require composer packages.
  3. Update the file config.json and complete the values for secret_path, client_path, subject and developerKey. These are obtained from the Google Developers Console at : https://console.developers.google.com. The secret_path and client_path are the paths to JSON files on your server which are obtained from the Google Console.

The Versions

14/02 2017

dev-master

9999999-dev

The missing PHP Google Contact API Client for a Server-to-Server Application

  Sources   Download

MIT

The Requires

 

google contacts

12/02 2017

1.0

1.0.0.0

The missing PHP Google Contact API Client for a Server-to-Server Application

  Sources   Download

MIT

The Requires

 

google contacts