Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Latest commit

 

History

History
42 lines (29 loc) · 801 Bytes

readme.md

File metadata and controls

42 lines (29 loc) · 801 Bytes

Zendesk API

Build Status

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.