PHPackages                             airlst/troi-sdk-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. airlst/troi-sdk-php

ActiveLibrary[API Development](/categories/api)

airlst/troi-sdk-php
===================

PHP SDK for Troi API v2

2.0.0(2w ago)095PHPPHP ^8.3

Since Jun 6Pushed 2w agoCompare

[ Source](https://github.com/airlst/troi-sdk-php)[ Packagist](https://packagist.org/packages/airlst/troi-sdk-php)[ Docs](https://github.com/airlst/troi-sdk-php)[ RSS](/packages/airlst-troi-sdk-php/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (30)Versions (7)Used By (0)

Troi API V2 PHP SDK
===================

[](#troi-api-v2-php-sdk)

This package provides a PHP SDK for the Troi API V2, allowing developers to easily integrate Troi's services into their applications. It is built using [Troi's official OpenAPI specifications](https://dist.troi.software/troi/doc/api/v2-openapi.json) and is built with the help of [crescat-io/saloon-sdk-generator](https://github.com/crescat-io/saloon-sdk-generator) tool.

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

[](#installation)

```
composer require airlst/troi-sdk-php
```

Usage
-----

[](#usage)

```
use Troi\V2\TroiSDK;

$connector = new TroiSDK(
    config('services.troi.customer'),
    config('services.troi.username'),
    config('services.troi.password'),
);

$response = $connector->clients()->fetchAllTenantsFormerlyClients();
```

Password is “API v2 / Troi App” token that can be found in the Troi security center

Contributing
------------

[](#contributing)

`/app` folder contains the Laravel Zero console application that is used to generate the SDK. You can use `build` command to download a fresh version of the OpenAPI specification and generate the SDK files in the `/build` folder:

```
php application build
```

Links
-----

[](#links)

- [Troi API V2 Documentation](https://v2.troi.dev)
- [Saloon library](https://docs.saloon.dev)

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance97

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 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

Every ~84 days

Recently: every ~104 days

Total

6

Last Release

14d ago

Major Versions

1.0.4 → 2.0.02026-08-03

### Community

Maintainers

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

---

Top Contributors

[![mish-ka-mishka](https://avatars.githubusercontent.com/u/5685141?v=4)](https://github.com/mish-ka-mishka "mish-ka-mishka (12 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/airlst-troi-sdk-php/health.svg)

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

###  Alternatives

[saloonphp/laravel-plugin

The official Laravel plugin for Saloon

807.6M227](/packages/saloonphp-laravel-plugin)[myoutdeskllc/salesforce-php

salesforce library for php8+

1586.3k](/packages/myoutdeskllc-salesforce-php)[codebar-ag/laravel-docuware

DocuWare integration with Laravel

1125.1k](/packages/codebar-ag-laravel-docuware)[sandorian/moneybird-api-php

Moneybird API client for PHP

148.6k](/packages/sandorian-moneybird-api-php)[codebar-ag/laravel-zammad

Zammad integration with Laravel

107.4k](/packages/codebar-ag-laravel-zammad)[marceloeatworld/falai-php

\#1 PHP client for the fal.ai serverless AI platform, compatible with Laravel and native PHP, built on Saloon v4

106.2k](/packages/marceloeatworld-falai-php)

PHPackages © 2026

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