PHPackages                             klinkfinance/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. klinkfinance/sdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

klinkfinance/sdk
================

Official PHP SDK for the Klink platform

00PythonCI passing

Since Feb 6Pushed 4mo agoCompare

[ Source](https://github.com/KlinkFinance/Klink-SDK)[ Packagist](https://packagist.org/packages/klinkfinance/sdk)[ RSS](/packages/klinkfinance-sdk/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Klink Finance SDKs - PHP &amp; Python
=====================================

[](#klink-finance-sdks---php--python)

[![Latest Stable Version](https://camo.githubusercontent.com/6226ea98d9ce5369b094c2aba194a4bdc5786e01a71a681fab03c2182d68a4eb/68747470733a2f2f706f7365722e707567782e6f72672f6b6c696e6b66696e616e63652f73646b2f762f737461626c65)](https://packagist.org/packages/klinkfinance/sdk)[![PyPI version](https://camo.githubusercontent.com/109476b519b9e9351fec6c6c32aaa0f03e18355ada6e2d014718b754f656cc76/68747470733a2f2f62616467652e667572792e696f2f70792f6b6c696e6b66696e616e63652d73646b2e737667)](https://badge.fury.io/py/klinkfinance-sdk)[![License](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT)

Complete implementation of Klink Finance SDKs in PHP and Python, matching the functionality of the Node.js SDK.

📦 What's Included
-----------------

[](#-whats-included)

### PHP SDK (`/php-sdk`)

[](#php-sdk-php-sdk)

- ✅ Full PHP 8+ implementation with type hints
- ✅ PSR-4 compliant structure
- ✅ Composer package with `composer.json`
- ✅ Guzzle HTTP client integration
- ✅ Complete Publisher &amp; Advertiser clients
- ✅ Comprehensive error handling
- ✅ Debug mode support
- ✅ Full documentation and examples

### Python SDK (`/python-sdk`)

[](#python-sdk-python-sdk)

- ✅ Full Python 3.8+ implementation with type hints
- ✅ pip-installable package with `setup.py` and `pyproject.toml`
- ✅ requests library for HTTP
- ✅ Complete Publisher &amp; Advertiser clients
- ✅ Comprehensive exception handling
- ✅ Debug mode support
- ✅ Full documentation and examples

🚀 Quick Start
-------------

[](#-quick-start)

### Monorepo Management

[](#monorepo-management)

This repository is set up as a monorepo. You can use the provided `Makefile` to manage both SDKs simultaneously.

```
# Install dependencies for both SDKs
make install

# Clean up build artifacts
make clean
```

### PHP SDK

[](#php-sdk)

Install via Composer:

```
composer require klinkfinance/sdk
```

Or for local development:

```
cd php-sdk
composer install
```

```
