Download the PHP package kryptoexpress/kryptoexpress-php without Composer
On this page you can find all versions of the php package kryptoexpress/kryptoexpress-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kryptoexpress/kryptoexpress-php
More information about kryptoexpress/kryptoexpress-php
Files in kryptoexpress/kryptoexpress-php
Package kryptoexpress-php
Short Description Framework-agnostic PHP SDK for the KryptoExpress API.
License MIT
Homepage https://kryptoexpress.pro
Informations about the package kryptoexpress-php
KryptoExpress PHP SDK
PHP SDK for the KryptoExpress API.
This package is framework-agnostic. It works in plain PHP and can be used as the core layer for framework or CMS integrations, including a future WooCommerce plugin.
Install
For PSR-18 mode install a PSR-18 client and PSR-17 factory, for example:
Requirements
- PHP 8.2 or newer
ext-jsonext-hash
Quick Start
Client Methods
Payment Rules
PAYMENTrequiresfiatAmount.DEPOSITmust not sendfiatAmount.- Stablecoins support only
PAYMENT. - Stablecoin payments are exact-payment only.
- Client-side minimum amount validation is applied only to
USDpayments. - For
USD, the minimum amount is1.00. - Non-USD payments are sent to the API without local minimum threshold validation.
Fiat Conversion
The SDK no longer requires a fiat converter for normal non-USD payment creation. If you keep using a converter abstraction in your application, treat it as an optional extension rather than a required part of the default payment flow.
You can also disable the remaining USD client-side minimum validation:
Webhook Signatures
- Header:
X-Signature - Algorithm:
HMAC-SHA512 - Message: compact raw JSON body
- Key:
callbackSecret
Transport
NativeTransportis the default and works without extra runtime packages.Psr18Transportcan be used when you already have a PSR-18 client stack.
Using A PSR-18 Client
Notes
- Practical docs say native coins are
BTC,LTC,ETH,SOL,BNB,DOGE, while OpenAPI also includesTRX. - Practical docs list stablecoins on
ERC20,BEP20, andSOL, while OpenAPI also includesUSDT_TRC20. - OpenAPI examples for
/cryptocurrencyand/cryptocurrency/stablecontain broader enums than the practical guide suggests. - The practical docs are authoritative for
PAYMENTvsDEPOSIT, stablecoin semantics, minimum amount policy, and webhook signature behavior.
WooCommerce
This package does not include WordPress or WooCommerce code. A WooCommerce plugin should use this SDK as its core API layer and keep hooks, settings, gateway classes, callback routing, and order-status mapping in a separate integration package.
All versions of kryptoexpress-php with dependencies
ext-hash Version *
ext-json Version *
psr/http-client Version ^1.0
psr/http-factory Version ^1.1
psr/http-message Version ^2.0