kintisoft / sdk
Official PHP SDK for KintiSoft Public API
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/kintisoft/sdk
Requires
- php: >=8.0
- guzzlehttp/guzzle: ^7.0
README
Official PHP SDK for the KintiSoft Public API
The official KintiSoft PHP SDK makes it easy to integrate the public API into PHP applications and external servers.
Includes:
- HTTP client based on Guzzle
- Custom exceptions
- Multi-tenant support
Installation
composer require kintisoft/sdk
Basic configuration
require DIR . '/vendor/autoload.php';
use KintiSoft\SDK\Client;
$client = new Client( tenant: 'acme', apiKey: 'pk_live_xxxxxx', );
Advanced options
$client = new Client( tenant: 'acme', apiKey: 'pk_live_xxxxxx', baseUrlOverride: 'https://acme.kintisoft.com/api/v1', timeout: 15.0, );
Internal structure
src/ Client.php HttpClient.php Prospects.php Exceptions/ KintiSoftException.php
License
MIT License