tokenio / sdk
PHP SDK for interacting with the Token System
Requires
- php: >=5.6.0
- ext-bcmath: *
- ext-grpc: *
- ext-json: *
- composer/composer: ^1.9
- google/protobuf: ^3.6.1
- grpc/grpc: ^1.20.0
- jms/serializer: 1.7.1
- paragonie/random_compat: >=2
- paragonie/sodium_compat: 1.7.0
- stephenhill/base58: ~1.0
Requires (Dev)
- phpunit/phpunit: ^7
Suggests
- ext-libsodium: PHP < 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security.
- ext-sodium: PHP >= 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security.
This package is auto-updated.
Last update: 2026-05-26 16:07:58 UTC
README
Token open source SDKs simplify the interactions with the Token global open banking REST/gRPC API. The Token SDKs handle digital signatures and, where applicable, chain Token API calls. This makes it easier to develop Token-integrated applications, while providing most of the flexibility of the full Token API. More information at https://developer.token.io/sdk/
Requirements
-
PHP 5.5.0 and later.
Usage
You can install the bindings via Composer. Run the following command:
composer require tokenio/sdk
To use the bindings, use Composer's autoload:
require_once('vendor/autoload.php');
Build
To build the SDK, run tests and generate documentation:
sh build.sh
Dependencies
The bindings require the following extensions in order to work properly:
Please do not install ext-protobuf, Token SDK works with PHP implementation of Protobuf (package google/protobuf).