99designs / php-desk
PHP client for Desk.com API
Installs: 3 929
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 76
Forks: 1
Open Issues: 0
Requires (Dev)
- mockery/mockery: >=0.7.2
- phpunit/phpunit: 3.7.*
Suggests
- php: >=5.3
- ext-oauth: *
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
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.