airlst / troi-sdk-php
There is no license information available for the latest version (1.0.1) of this package.
PHP SDK for Troi API v2
1.0.1
2025-06-13 15:16 UTC
Requires
- php: ^8.3
- saloonphp/saloon: ^3.0
Requires (Dev)
- airlst/php-cs-fixer-config: ^3.6
- airlst/phpstan-config: dev-master
- airlst/rector-config: dev-master
- crescat-io/saloon-sdk-generator: ^1.10
- ergebnis/composer-normalize: ^2.47
- fakerphp/faker: ^1.9.1
- friendsofphp/php-cs-fixer: ^3.75
- illuminate/database: ^10.0
- laravel-zero/framework: ^10.0
- laravel/pint: ^1.8
- mockery/mockery: ^1.5.1
- pestphp/pest: ^2.5
- phpstan/phpstan: ^2.1
- rector/swiss-knife: ^2.2
This package is auto-updated.
Last update: 2025-06-13 15:17:15 UTC
README
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 and is built with the help of crescat-io/saloon-sdk-generator tool.
Installation
composer require airlst/troi-sdk-php
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
If you want to contribute to this SDK, you can generate the SDK from the fresh OpenAPI specification using the following command:
php application build