acquia / zendesk-api
A PHP library for interacting with the Zendesk REST API.
Installs: 3 837
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 4
Forks: 2
Open Issues: 0
Requires (Dev)
- phpunit/phpunit: 3.7.30
This package is not auto-updated.
Last update: 2023-03-04 06:10:17 UTC
README
This package is a PHP interface to the Zendesk REST API.
Installation
Run the following commands to install the required dependencies:
cd <project root> composer install --no-dev
Usage
require 'vendor/autoload.php'; use Acquia\Zendesk\ZendeskApi; $zendesk = new ZendeskApi('subdomain', 'username', 'api_key'); print_r($zendesk->request('GET', 'tickets'));
Running the tests
The following commands can be used to run the test suite locally:
cd <project root> composer update phpunit
Using composer update
without the --no-dev
flag will download the phpunit
dependency.