Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

99designs/php-desk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Desk.com client

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.