PHPackages                             clientsdesk/clientsdesk-api-client-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. clientsdesk/clientsdesk-api-client-php

ActiveLibrary[API Development](/categories/api)

clientsdesk/clientsdesk-api-client-php
======================================

Clientsdesk.net REST API PHP Client.

014PHP

Since Sep 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/clientsdesk/clientsdesk-api-client-php)[ Packagist](https://packagist.org/packages/clientsdesk/clientsdesk-api-client-php)[ RSS](/packages/clientsdesk-clientsdesk-api-client-php/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

Clientsdesk API client-php
==========================

[](#clientsdesk-api-client-php)

PHP Client to connect clientsdesk.net

Requirements
------------

[](#requirements)

- PHP 5.6+

Installation
------------

[](#installation)

The Clientsdesk PHP API client can be installed using [Composer](https://packagist.org/packages/clientsdesk/clientsdesk-api-client-php).

### Composer

[](#composer)

To install run `composer require clientsdesk/clientsdesk-api-client-php`

Configuration
-------------

[](#configuration)

Configuration is done through an instance of `Clientsdesk\API\HttpClient`. Api Key is mandatory and if not passed, an error will be thrown.

```
// load Composer
require 'vendor/autoload.php';

use Clientsdesk\API\HttpClient as ClientsdeskAPI;

$api_key     = "pLhQ6UhxsPZ8p7QU4S3rT6btXfH6yiVBjciKirnD"; // replace this with your api key
$api_signature     = "pLhQ6UhxsPZ8p7QU4S3rT6btXfH6yiVBjciKirnD"; // replace this with your api signature

$client = new ClientsdeskAPI($api_key, $api_signature);
```

Usage
-----

[](#usage)

### Basic Operations

[](#basic-operations)

- Hint: You can find examples and operations in tests directory.

```
// Create new message from Web form
$messageAttributes = [
            'form_id' => 'form id here',
            'body' => 'some body from form',
            'subject' => 'optional subject',
            'name' => 'Test User',
            'email' => 'test@test.com',
            'custom_info => 'Some custom'

        ];
        $response = $this->client->messages()->create($messageAttributes);
        $message = $response->message;
print_r($message);

// Get Web Forms list

$indexParams = [
            'page' => 0,
            'per_page' => 5
        ];
        $response = $this->client->web_forms()->getIndex($indexParams);
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.2% 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://www.gravatar.com/avatar/d2075a8c6394efd508ce598ce00e83dee7a02d2cea779ac8243b652cd6299849?d=identicon)[howtwizer](/maintainers/howtwizer)

---

Top Contributors

[![abaidan](https://avatars.githubusercontent.com/u/2534629?v=4)](https://github.com/abaidan "abaidan (15 commits)")[![clientsdesk](https://avatars.githubusercontent.com/u/42003491?v=4)](https://github.com/clientsdesk "clientsdesk (2 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/clientsdesk-clientsdesk-api-client-php/health.svg)](https://phpackages.com/packages/clientsdesk-clientsdesk-api-client-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)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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