amaughan81 / google-contact-groups
Manage Google Contact Groups with V3 API in a Server-to-Server Application
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/amaughan81/google-contact-groups
Requires
- google/apiclient: ^2.0
- google/apiclient-services: dev-master
- guzzlehttp/guzzle: ^6.2
This package is not auto-updated.
Last update: 2025-10-12 01:49:07 UTC
README
This is the missing PHP Client for managing a user's contacts using Google Contacts V3 API
Features
- List All Groups
- Get a Single Group
- Search Groups
- Create / Update / Delete Group
- Batch Create / Update / Delete Groups
Installation
In your compose.json file add the following requirements:
{
"require": {
"google/apiclient": "^2.0",
"google/apiclient-services" : "dev-master",
"guzzlehttp/guzzle": "^6.2"
},
"autoload": {
"psr-4": {
"amaughan81\\": "vendor/amaughan81/GoogleContactGroups/src/"
}
}
}
Then run composer update
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.
- Ensure the required dependencies are installed. See above require composer packages.
- Update the file config.json and complete the values for
secret_path,client_path,subjectanddeveloperKey. These are obtained from the Google Developers Console at : https://console.developers.google.com. Thesecret_pathandclient_pathare the paths to JSON files on your server which are obtained from the Google Console.