grccontact / php-sdk
There is no license information available for the latest version (dev-master) of this package.
The open source PHP SDK that allows you to access the GRC Contact CRM Platform from your PHP app
dev-master
2020-08-01 10:03 UTC
Requires
- guzzlehttp/guzzle: ^7.0
- nesbot/carbon: ^2.37
This package is auto-updated.
Last update: 2025-07-04 23:31:25 UTC
README
This repository contains the open source PHP SDK that allows you to access the GRC Contact CRM Platform from your PHP app.
Installation
The GRC Contact CRM PHP SDK can be installed with Composer. Run this command:
composer require grccontact/php-sdk
Usage
Note: This version of the GRC Contact CRM SDK for PHP requires PHP 5.4 or greater.
Simple GET example of a user's profile.
require_once __DIR__ . '/vendor/autoload.php'; // change path as needed
$grc = new \Grccontact\Grccontact([
'personnal-acces-token' => '{token}',
'api-version' => 'v3'
]);
try {
$response = $grc->get('{endpoint}');
} catch(\Exceptions $e) {
echo 'GRC Contact CRM returned an error: ' . $e->getMessage();
exit;
}
$api = $response->getData();
echo 'Value : ' . $api->getProperty();
Complete documentation, installation instructions, and examples are available here.