PHPackages                             xalantis/sdk - 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. xalantis/sdk

ActiveLibrary

xalantis/sdk
============

Official PHP SDK for the Xalantis API

v0.1.0(yesterday)00MITPHPPHP ^8.1

Since Apr 4Pushed yesterdayCompare

[ Source](https://github.com/xalantis-hub/xalantis-php)[ Packagist](https://packagist.org/packages/xalantis/sdk)[ RSS](/packages/xalantis-sdk/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

xalantis/sdk
============

[](#xalantissdk)

Official PHP SDK for the Xalantis API.

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

[](#installation)

```
composer require xalantis/sdk
```

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

[](#quick-start)

```
use Xalantis\Xalantis;

$client = new Xalantis('sk_live_...');
```

Tickets
-------

[](#tickets)

### Create a ticket

[](#create-a-ticket)

```
$response = $client->tickets()->create([
    'subject' => 'Login issue',
    'description' => 'Cannot login since the latest update',
    'requester_email' => 'user@example.com',
    'priority' => 'high',
    'category_slug' => 'technical-support', // optional
]);

echo $response['data']['uuid'];
echo $response['data']['reference'];
```

### List tickets

[](#list-tickets)

```
$response = $client->tickets()->list([
    'status' => 'open',
    'priority' => 'high',
    'per_page' => 10,
    'sort_by' => 'created_at',
    'sort_dir' => 'desc',
]);

echo $response['meta']['total'] . ' tickets found';
```

### Get a ticket

[](#get-a-ticket)

```
$response = $client->tickets()->get('ticket-uuid');
$ticket = $response['data'];
```

### Update a ticket

[](#update-a-ticket)

```
$client->tickets()->update('ticket-uuid', [
    'status' => 'resolved',
    'priority' => 'low',
]);
```

### Reply to a ticket

[](#reply-to-a-ticket)

```
$client->tickets()->reply('ticket-uuid', [
    'content' => 'This has been fixed in v2.1.0',
]);

// Internal note (not visible to requester)
$client->tickets()->reply('ticket-uuid', [
    'content' => 'Deployed hotfix to production',
    'is_internal' => true,
]);
```

### List replies

[](#list-replies)

```
$response = $client->tickets()->listReplies('ticket-uuid');
```

Error Handling
--------------

[](#error-handling)

```
use Xalantis\Xalantis;
use Xalantis\Exceptions\XalantisException;

try {
    $client->tickets()->create([...]);
} catch (XalantisException $e) {
    echo $e->errorCode;  // 'VALIDATION_ERROR'
    echo $e->getMessage(); // 'Validation failed.'
    echo $e->status;      // 422
    print_r($e->details); // ['subject' => ['Required']]

    // Rate limiting
    if ($e->status === 429) {
        sleep($e->retryAfter ?? 60);
    }
}
```

License
-------

[](#license)

MIT

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22053891?v=4)[Lamine AZINAKOU](/maintainers/agazinakou)[@agazinakou](https://github.com/agazinakou)

---

Top Contributors

[![agazinakou](https://avatars.githubusercontent.com/u/22053891?v=4)](https://github.com/agazinakou "agazinakou (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/xalantis-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/xalantis-sdk/health.svg)](https://phpackages.com/packages/xalantis-sdk)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M37](/packages/tencentcloud-tencentcloud-sdk-php)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[soneso/stellar-php-sdk

Stellar PHP SDK for the Stellar Network

4048.2k4](/packages/soneso-stellar-php-sdk)[flowwow/cloudpayments-php-client

cloudpayments api client

2188.2k](/packages/flowwow-cloudpayments-php-client)

PHPackages © 2026

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