Download the PHP package xpayr/xpayr-php without Composer
On this page you can find all versions of the php package xpayr/xpayr-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xpayr/xpayr-php
More information about xpayr/xpayr-php
Files in xpayr/xpayr-php
Package xpayr-php
Short Description Official PHP SDK for the XPayr Merchant API.
License MIT
Homepage https://xpayr.com/developers
Informations about the package xpayr-php
XPayr PHP SDK
Official PHP SDK for XPayr payment sessions, merchant operations, webhook verification, and server-side crypto checkout integrations.
Status: Public beta · v0.1.0
Purpose
A PHP 8.1+ client for XPayr Merchant API v1 with cURL transport, structured exceptions, and secure webhook verification.
Included
- Payment, merchant, network, and webhook API methods
- PSR-4 package layout and Composer metadata
- Constant-time HMAC-SHA256 webhook verification
Quick start
Install the published package:
For repository development, run composer install, composer lint, and composer test.
Compatibility
- Runtime requirement: PHP 8.1+ with
ext-curlandext-json - Verified in CI on PHP 8.1, 8.3, and 8.4
- Distributed as a PSR-4 Composer library under
xpayr/xpayr-php
Usage
Use an XPayr test key before live credentials. Never expose sk_test_*, sk_live_*, agent keys, webhook secrets, or wallet private keys in browser code or commits.
Documentation
Security
Read SECURITY.md before reporting a vulnerability. Payment completion must be based on verified XPayr webhook/API state and canonical on-chain evidence, not browser callbacks alone.
License
MIT. See LICENSE.
All versions of xpayr-php with dependencies
ext-curl Version *
ext-json Version *