PHPackages                             apollopayment/php-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. apollopayment/php-api

ActiveLibrary[Payment Processing](/categories/payments)

apollopayment/php-api
=====================

0.3.0(1y ago)04MITPHPPHP ^8.1

Since May 23Pushed 1y ago1 watchersCompare

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

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

ApolloPayment PHP-API
=====================

[](#apollopayment-php-api)

This package makes it easy [ApolloPayment Api](https://docs.apollopayment.io/).

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

[](#installation)

`composer require apollopayment/php-api`

Use
---

[](#use)

Go to your personal account and get api-keys.

*Substitute keys in class call:*

```
include_once ('php-api/vendor/autoload.php');

$apolloPaymentApi = new ApolloPayment\Api('__PUBLIC_KEY__', '__PRIVATE_KEY__');
```

### Check signature

[](#check-signature)

You can test your signature within this method.

```
$checkSignature = false;
try {
    $checkSignature = $apolloPaymentApi->verifySignature();
} catch (ApolloPayment\Exception $err) {
    echo $err;
}

echo $checkSignature ? 'Signature correct' : 'Signature incorrect';
```

### Fetch available currencies

[](#fetch-available-currencies)

Get list of available currencies for depositing/withdrawing

```
$avalableCurrencies = [];
try {
    $avalableCurrencies = $apolloPaymentApi->getAvailableCurrenciesList();
} catch (ApolloPayment\Exception $err) {
    echo $err;
}

foreach ($avalableCurrencies as $coin) {
    echo sprintf("%s (%s) = %0.2f$\n",
                $coin['currency'], $coin['alias'], $coin['priceUSD']);
    if($coin['networks']) {
        echo "\t networks:\n";
        foreach ($coin['networks'] as $network)
            echo sprintf("\t\t%s (%s)\n", $network['name'], $network['alias']);
    }
}
```

### Get currencies price-rate

[](#get-currencies-price-rate)

Get price rate from one currency to another

```
$price = $apolloPaymentApi->priceRate('ETH', 'USDT');
```

### Get advanced balances info

[](#get-advanced-balances-info)

Get info about advanced balance by its id

```
$balance = null;
try {
    $balance = $apolloPaymentApi->account->getAdvancedBalanceInfo($balanceId);
} catch (ApolloPayment\Exception $err) {
    echo $err;
}

echo sprintf(
    "[%s] (%s)\n\tAvalable for deposit: %s\n",
    $balance['advancedBalanceId'],
    $balance['currency'],
    implode(', ', $balance['availableCurrenciesForDeposit'])
);
```

Or get list of advanced balances of user

```
$balances = [];
try {
    $balances = $apolloPaymentApi->account->getAdvancedBalancesList();
} catch (ApolloPayment\Exception $err) {
    echo $err;
}

foreach ($balances as $balance) {
    echo sprintf(
        "[%s] (%s)\n\tAvalable for deposit: %s\n",
        $balance['advancedBalanceId'],
        $balance['currency'],
        implode(', ', $balance['availableCurrenciesForDeposit'])
    );
}
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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

Unknown

Total

1

Last Release

723d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/20565ad7327a8576935f6f682688553cb912547d407f142a51bfa378392fc988?d=identicon)[ApolloPayment](/maintainers/ApolloPayment)

---

Top Contributors

[![apollopayment](https://avatars.githubusercontent.com/u/169657987?v=4)](https://github.com/apollopayment "apollopayment (1 commits)")

---

Tags

apollopayment

### Embed Badge

![Health badge](/badges/apollopayment-php-api/health.svg)

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

###  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)
