PHPackages                             tokenpay-platform/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. [Payment Processing](/categories/payments)
4. /
5. tokenpay-platform/sdk-php

ActiveLibrary[Payment Processing](/categories/payments)

tokenpay-platform/sdk-php
=========================

Official PHP SDK for the TokenPay payment gateway.

v0.1.0(3mo ago)08MITPHP ^8.1

Since Apr 21Compare

[ Source](https://github.com/gpgo/tokenpay-sdk-php)[ Packagist](https://packagist.org/packages/tokenpay-platform/sdk-php)[ Docs](https://github.com/gpgo/tokenpay-sdk-php)[ RSS](/packages/tokenpay-platform-sdk-php/feed)WikiDiscussions Synced 3w ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

TokenPay PHP SDK
================

[](#tokenpay-php-sdk)

[![Packagist](https://camo.githubusercontent.com/e0f669013992420225e03ae9376c58dc6fa4bcaeaaa7c70ed60f5446fe833bb7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f6b656e7061792d706c6174666f726d2f73646b2d7068702e737667)](https://packagist.org/packages/tokenpay-platform/sdk-php)[![PHP Version](https://camo.githubusercontent.com/13602ba5daa9f9f4b9c297fcdaea0fde5bc7f719d92201fed6967ed159d8cdfb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f6b656e7061792d706c6174666f726d2f73646b2d7068702e737667)](https://packagist.org/packages/tokenpay-platform/sdk-php)[![License](https://camo.githubusercontent.com/a9c33dfbe93a94d9145948e3273ad7f93f0e99ad1c960c662cd866187d35dda6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f6b656e7061792d706c6174666f726d2f73646b2d7068702e737667)](./LICENSE)

Official PHP SDK for the [TokenPay](https://tokenpayment.io) payment gateway — P2P crypto trading platform with fiat on/off ramps and webhook-driven merchant integrations.

> **Source of truth.** The canonical source lives in the private `gpgo/tokenpay` monorepo under `sdks/php/`. A public mirror is auto-published to [`gpgo/tokenpay-sdk-php`](https://github.com/gpgo/tokenpay-sdk-php)on every `v*-php` release tag; that mirror is what Packagist installs from. See ADR-097 in `docs/DECISIONS.md` (monorepo only) for the rationale.

Requirements
------------

[](#requirements)

- PHP **8.1** or newer (tested on 8.1, 8.2, 8.3, 8.4).
- [Composer](https://getcomposer.org/) 2.x.
- The `ext-json` and `ext-hash` extensions (present in every standard PHP build).

Install
-------

[](#install)

```
composer require tokenpay-platform/sdk-php
```

> The Packagist vendor prefix is `tokenpay-platform/` rather than the shorter `tokenpay/` because the latter is held by a defensive dependency-confusion registrar (`m-vendors`, unrelated to this project). The GitHub repository is still `gpgo/tokenpay-sdk-php`; only the Packagist vendor differs.

Quick start
-----------

[](#quick-start)

```
