PHPackages                             ibragimoff26/crypto-pay-api - 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. ibragimoff26/crypto-pay-api

ActiveLibrary[Payment Processing](/categories/payments)

ibragimoff26/crypto-pay-api
===========================

Crypto pay api for @CryptoBot

1.1.0(4y ago)27671MITPHPPHP ^8.0

Since Dec 8Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Ibragimoff26/crypto-pay-api)[ Packagist](https://packagist.org/packages/ibragimoff26/crypto-pay-api)[ RSS](/packages/ibragimoff26-crypto-pay-api/feed)WikiDiscussions main Synced today

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

ibragimoff26/crypto-pay-api
===========================

[](#ibragimoff26crypto-pay-api)

**[Crypto Pay](http://t.me/CryptoBot/?start=pay)** is a payment system based on [@CryptoBot](http://t.me/CryptoBot), which allows you to accept payments in cryptocurrency using the API. This library help you to work with **Crypto Pay** via [Crypto Pay API](https://telegra.ph/Crypto-Pay-API-11-25).

Install
-------

[](#install)

```
composer require ibragimoff26/crypto-pay-api
```

Usage
-----

[](#usage)

Just create an instance of **CryptoPayApi**

```
$httpClient = new \Ibragimoff\CryptoPayApi\Client\HttpClient(
    'API_HOST_NAME', // https://pay.crypt.bot/ for mainnet and https://testnet-pay.crypt.bot/ for testnet
    'YOUR_API_KEY',
    new \Symfony\Component\HttpClient\CurlHttpClient()
);

$api = new \Ibragimoff\CryptoPayApi\CryptoPayApi($httpClient);

$me = $api->getMe();

$balance = $api->getBalance();

$currencies = $api->getCurrencies();

$exchangeRate = $api->getExchangeRate();

$invoices = $api->getInvoices(
    new \Ibragimoff\CryptoPayApi\Model\GetInvoices\GetInvoicesRequest(
        asset: "TON"
    )
);

$newInvoice = $api->createInvoice(
    new \Ibragimoff\CryptoPayApi\Model\CreateInvoice\CreateInvoiceRequest(
        asset: "TON",
        amount: "0.01"
    )
);

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~186 days

Total

2

Last Release

1481d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/37fb7db5ca1fb7e61ee8c58147f1ac87c4ddda13752ece0e16b13e7b7c5b51d0?d=identicon)[Ibragimoff26](/maintainers/Ibragimoff26)

---

Top Contributors

[![ibragimov-sha](https://avatars.githubusercontent.com/u/95748999?v=4)](https://github.com/ibragimov-sha "ibragimov-sha (6 commits)")

---

Tags

cryptopaycryptobot

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ibragimoff26-crypto-pay-api/health.svg)

```
[![Health](https://phpackages.com/badges/ibragimoff26-crypto-pay-api/health.svg)](https://phpackages.com/packages/ibragimoff26-crypto-pay-api)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

515100.5k3](/packages/web-auth-webauthn-framework)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k51.2M339](/packages/api-platform-core)[web-auth/webauthn-lib

FIDO2/Webauthn Support For PHP

12310.5M135](/packages/web-auth-webauthn-lib)

PHPackages © 2026

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