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

ActiveLibrary

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

PHP SDK for Troi API v2

1.0.4(9mo ago)082PHPPHP ^8.3

Since Jun 6Pushed 9mo 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 1mo ago

READMEChangelogDependencies (15)Versions (6)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

35

—

LowBetter than 79% of packages

Maintenance59

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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 ~11 days

Total

5

Last Release

289d ago

### 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 (11 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

[skagarwal/google-places-api

Google Places Api

1913.0M8](/packages/skagarwal-google-places-api)[saloonphp/laravel-plugin

The official Laravel plugin for Saloon

765.7M124](/packages/saloonphp-laravel-plugin)[ohdearapp/ohdear-php-sdk

An SDK to easily work with the Oh Dear API

742.6M13](/packages/ohdearapp-ohdear-php-sdk)[saloonphp/rate-limit-plugin

Handle rate limits beautifully in your Saloon API integrations or SDKs

201.3M43](/packages/saloonphp-rate-limit-plugin)[saloonphp/cache-plugin

Official plugin for caching Saloon responses

122.0M64](/packages/saloonphp-cache-plugin)[myoutdeskllc/salesforce-php

salesforce library for php8+

1560.8k](/packages/myoutdeskllc-salesforce-php)

PHPackages © 2026

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