99designs/php-desk

This package is abandoned and no longer maintained. The author suggests using the bradfeehan/desk-php package instead.
There is no license information available for the latest version (v1.0.1) of this package.

PHP client for Desk.com API

v1.0.1 2013-02-03 23:41 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:22:24 UTC


README

A php 5.3+ wrapper for the Desk.com API

Build Status

While this is in use in some projects, it will eventually be updated/refactored to be based on Guzzle (work in progress).

Installation

To add php-desk to a project, the easiest way is via composer:

{
    "require": {
        "99designs/php-desk": "dev-master"
    }
}

Usage

Before you use the API, you need an access token and other credentials. Your token can be found under your client application's details in Admin — General Settings — API Applications.

<?php

$desk = new \Desk(
  YOUR_DESK_SUBDOMAIN,
  YOUR_CONSUMER_KEY,
  YOUR_CONSUMER_SECRET,
  YOUR_OAUTH_TOKEN,
  YOUR_OAUTH_TOKEN_SECRET
);

// TODO: describe API calls here

Copyright

Copyright (c) 2012 99designs See LICENSE for details.