PHPackages                             coinpay/php-integration - 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. coinpay/php-integration

ActiveLibrary[Payment Processing](/categories/payments)

coinpay/php-integration
=======================

php package for coin payment finance

v0.2.0(12mo ago)00MITPHPPHP ^7.0|^8.0

Since May 20Pushed 12mo agoCompare

[ Source](https://github.com/coinpay-finance/php-integration-package)[ Packagist](https://packagist.org/packages/coinpay/php-integration)[ RSS](/packages/coinpay-php-integration/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Coinpay
=======

[](#coinpay)

Safe, fast and instant payments; Anytime, anywhere with CoinPay

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

[](#installation)

Install with composer:

```
composer require coinpay/php-integration
```

Usage
-----

[](#usage)

```
use Coinpay\Finance\CoinPayGateway;

try {
    $gateway = new CoinPayGateway("###COINPAY_API_KEY###");
    $response = $gateway->request(
        1,                                                              // The amount to be paid (in Dollar - $).
        'https://your-callback.url',                                    // The URL the user will be redirected to after payment.
        'ref123',                                                       // A unique reference ID for tracking the transaction.
        'payer@example.com',                                            // The identity of the payer (email or phone number).
        'Alimo',                                                        // Full name of the payer.
        'Test Payment',                                                 // Description of the payment (e.g. "Payment for order #123").
        '1234567890'                                                    // National identification code of the payer.
    );

    echo "Payment URL: " . $response->url . PHP_EOL;                    //Redirect user to payment gateway url
    echo "Transaction ID: " . $response->transactionId . PHP_EOL;       //Store this Id if you need
} catch (Exception $e) {
    echo "Error: " . $e->getMessage() . PHP_EOL;
}
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance50

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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 ~0 days

Total

2

Last Release

363d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c39231b2e49bf4990854ffd6aa6e548257fa3e600685241ba51aabb288d28b6d?d=identicon)[samholding.coinpay](/maintainers/samholding.coinpay)

---

Top Contributors

[![alimoeini308](https://avatars.githubusercontent.com/u/46076850?v=4)](https://github.com/alimoeini308 "alimoeini308 (2 commits)")

### Embed Badge

![Health badge](/badges/coinpay-php-integration/health.svg)

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

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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