PHPackages                             xpayapi-com/xpayapi - 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. [API Development](/categories/api)
4. /
5. xpayapi-com/xpayapi

ActiveLibrary[API Development](/categories/api)

xpayapi-com/xpayapi
===================

xpayapi.com PHP SCI/API Wrapper (Official)

v1.0(2y ago)06MITPHPPHP &gt;=7.1.0

Since Mar 4Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/xpayapi/xpayapi.com)[ Packagist](https://packagist.org/packages/xpayapi-com/xpayapi)[ Docs](https://github.com/xpayapi/xpayapi.com/tree/main)[ RSS](/packages/xpayapi-com-xpayapi/feed)WikiDiscussions main Synced 1mo ago

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

xPayapi.com PHP SCI/API Wrapper(Official).
==========================================

[](#xpayapicom-php-sciapi-wrapperofficial)

This is an official module developed by xPayapi.com for easy integration into PHP-based applications. Source code of the class files is in the ./src directory. The source code for the examples can be found at ./examples.

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

[](#requirements)

It's recommended to use a newer version of PHP. This library was written in a PHP v7.1+ environment + php-curl, php-json, php-mbstring modules.

A xPayapi.com account with **Merchant ID, Merchant Password, API ID, API Password**. You can get the credentials at the pages: [Add merchant](https://xPayapi.com/merchant/add/), [Add API](https://xPayapi.com/api/add/).

Installation
------------

[](#installation)

Package available on [Composer](https://packagist.org/packages/xpayapi-com/xpayapi).

If you're using Composer to manage dependencies, you can use

```
$ composer require xpayapi-com/xpayapi
```

Test examples with Docker
-------------------------

[](#test-examples-with-docker)

To quickly run examples you need to install Docker, git and make utility.

**Step 1:**

```
$ git clone https://github.com/xpayapi-com/xpayapi.git
$ cd xpayapi/
```

**Step 2:**

Setup config with credentials *config/config-example.php*

**Step 3:**

```
$ make run
```

**Step 4:**

Open examples in your browser *examples/*

**Example:**

Follow the link [http://localhost/examples/custom\_payment\_page.php](http://localhost/examples/custom_payment_page.php)

**Stop server:**

```
$ make stop
```

Usage, see examples folder
--------------------------

[](#usage-see-examples-folder)

**Example:**Follow the link

Contributing
------------

[](#contributing)

If during your work with this wrapper you encounter a bug or have a suggestion to help improve it for others, you are welcome to open a Github issue on this repository and it will be reviewed by one of our development team members. The xPayapi.com bug bounty does not cover this wrapper.

License
-------

[](#license)

MIT - see LICENSE

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance43

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 92.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

805d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c621ceb750f9744f9b17e57185b25fb7b8bfda497f1e248846b9a9b0d4bc3d8?d=identicon)[xpayapi](/maintainers/xpayapi)

---

Top Contributors

[![xpayapi](https://avatars.githubusercontent.com/u/162065920?v=4)](https://github.com/xpayapi "xpayapi (13 commits)")[![poejanetwork](https://avatars.githubusercontent.com/u/32332041?v=4)](https://github.com/poejanetwork "poejanetwork (1 commits)")

---

Tags

phpapicurrencycryptopaypalbitcoinbtcmerchantlitecoindogecoincryptocurrencypayment gatewayethereumtronpayment methodbitpaybinanceBEP20block.iocoinpaymentspayment processortrc20erc20tetherxpayapixpayapi.combinancecoin

### Embed Badge

![Health badge](/badges/xpayapi-com-xpayapi/health.svg)

```
[![Health](https://phpackages.com/badges/xpayapi-com-xpayapi/health.svg)](https://phpackages.com/packages/xpayapi-com-xpayapi)
```

###  Alternatives

[coinpaymentsnet/coinpayments-php

A PHP wrapper for the CoinPayments.net v1 API.

55126.2k](/packages/coinpaymentsnet-coinpayments-php)[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

41.5k328.9k1](/packages/ccxt-ccxt)[kornrunner/ccxt

A PHP cryptocurrency trading library with support for more than 90 bitcoin/altcoin exchanges

371.6k](/packages/kornrunner-ccxt)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
