PHPackages                             deskpro/deskpro-api-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. deskpro/deskpro-api-php

AbandonedArchivedLibrary[API Development](/categories/api)

deskpro/deskpro-api-php
=======================

Library for using the DeskPRO API with PHP

799.2k↑35.7%15[1 PRs](https://github.com/deskpro/deskpro-api-php/pulls)PHP

Since Oct 9Pushed 4y ago12 watchersCompare

[ Source](https://github.com/deskpro/deskpro-api-php)[ Packagist](https://packagist.org/packages/deskpro/deskpro-api-php)[ RSS](/packages/deskpro-deskpro-api-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

DeskPRO PHP SDK
===============

[](#deskpro-php-sdk)

The DeskPRO PHP SDK is a simple class to access and interact with DeskPRO's REST API. It wraps the actual requests up in an easy-to-use API of simple PHP calls.

For more information on the underlying REST API, please see our [API documentation](https://support.deskpro.com/kb/30).

PHP SDK Requirements
--------------------

[](#php-sdk-requirements)

The PHP SDK requires PHP &gt;= 5.2 with the cURL extension.

Using The PHP SDK
-----------------

[](#using-the-php-sdk)

The best way to get started with the PHP SDK is to view the fully functioning examples in the [examples folder](https://github.com/DeskPRO/deskpro-api-php/tree/master/examples).

The following larger projects may also serve as a useful reference:

- [New ticket from a web form](https://github.com/DeskPRO/api-app-ticket-form)
- [Convert your tickets to PDF documents](https://github.com/DeskPRO/api-app-ticket-pdfs)

Full documentation on the underlying API is maintained in the [API documentation section](https://support.deskpro.com/kb/30) in our Knowledgebase.

Note that you can explore the API interactively on your own helpdesk using the [DeskPRO API browser](https://support.deskpro.com/kb/articles/346).

Quick Start
-----------

[](#quick-start)

**1.** Clone or download this repository and put the source files somewhere in your project.

**2.** Include the `deskpro-api.php` file:

```
require 'deskpro-api.php';

```

**3.** Create a new instance of the API class:

```
$api = new \DeskPRO\Api('http://example.com/deskpro', '123:XYZ');

```

**4.** Use `$api` to send API requests to your DeskPRO helpdesk. Refer to the `examples` directory for fully-functional examples.

Using Composer
--------------

[](#using-composer)

You can also install the API library through composer:

```
$ php composer.phar require deskpro/deskpro-api-php dev-master

```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 61.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/145357?v=4)[Christopher Nadeau](/maintainers/chroder)[@chroder](https://github.com/chroder)

![](https://www.gravatar.com/avatar/fc7c2928439c4769b3c5777198cf7fe0e34c098167a8ede42810f96fcf434e9f?d=identicon)[abhinavkumar940](/maintainers/abhinavkumar940)

---

Top Contributors

[![abhinavkumar940](https://avatars.githubusercontent.com/u/1189133?v=4)](https://github.com/abhinavkumar940 "abhinavkumar940 (87 commits)")[![n3b](https://avatars.githubusercontent.com/u/716480?v=4)](https://github.com/n3b "n3b (19 commits)")[![chroder](https://avatars.githubusercontent.com/u/145357?v=4)](https://github.com/chroder "chroder (17 commits)")[![phplicengine](https://avatars.githubusercontent.com/u/13603184?v=4)](https://github.com/phplicengine "phplicengine (3 commits)")[![hendesk](https://avatars.githubusercontent.com/u/6973623?v=4)](https://github.com/hendesk "hendesk (3 commits)")[![puneet0191](https://avatars.githubusercontent.com/u/3048593?v=4)](https://github.com/puneet0191 "puneet0191 (3 commits)")[![syastrebov](https://avatars.githubusercontent.com/u/1681915?v=4)](https://github.com/syastrebov "syastrebov (2 commits)")[![ChMat](https://avatars.githubusercontent.com/u/1511740?v=4)](https://github.com/ChMat "ChMat (2 commits)")[![lshelper](https://avatars.githubusercontent.com/u/1089663?v=4)](https://github.com/lshelper "lshelper (2 commits)")[![paudam](https://avatars.githubusercontent.com/u/505050?v=4)](https://github.com/paudam "paudam (1 commits)")[![jatap](https://avatars.githubusercontent.com/u/283011?v=4)](https://github.com/jatap "jatap (1 commits)")[![swaroopsm](https://avatars.githubusercontent.com/u/898602?v=4)](https://github.com/swaroopsm "swaroopsm (1 commits)")[![alexlanni](https://avatars.githubusercontent.com/u/5946543?v=4)](https://github.com/alexlanni "alexlanni (1 commits)")

---

Tags

legacyproductsdk

### Embed Badge

![Health badge](/badges/deskpro-deskpro-api-php/health.svg)

```
[![Health](https://phpackages.com/badges/deskpro-deskpro-api-php/health.svg)](https://phpackages.com/packages/deskpro-deskpro-api-php)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
