PHPackages                             atlantpayments/paymentpage-sdk - 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. atlantpayments/paymentpage-sdk

ActiveLibrary[Payment Processing](/categories/payments)

atlantpayments/paymentpage-sdk
==============================

Atlant payments SDK

v1.0.0(4y ago)0477PHP

Since Sep 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/atlantpayments/paymentpage-sdk-php)[ Packagist](https://packagist.org/packages/atlantpayments/paymentpage-sdk)[ RSS](/packages/atlantpayments-paymentpage-sdk/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

Atlant payments PHP SDK
=======================

[](#atlant-payments-php-sdk)

This is a set of libraries in the PHP language to ease integration of your service with the Atlant payments Payment Page.

Please note that for correct SDK operating you must have at least PHP 7.0.

Payment flow
------------

[](#payment-flow)

[![Payment flow](flow.png)](flow.png)

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

[](#installation)

Install with composer

```
composer require atlantpayments/paymentpage-sdk
```

### Get URL for payment

[](#get-url-for-payment)

```
$gate = new atlantpayments\Gate('secret');
$payment = new atlantpayments\Payment('11', 'some payment id');
$payment->setPaymentAmount(1000)->setPaymentCurrency('RUB');
$url = $gate->getPurchasePaymentPageUrl($payment);
```

`$url` here is the signed URL.

If you want to use another domain for URL you can change it with optional `Gate` constructor parameter:

```
new atlantpayments\Gate('secret', 'https://mydomain.com/payment');
```

or change it with method

```
$gate->setPaymentBaseUrl('https://mydomain.com/payment');
```

### Handle callback from Atlant payments

[](#handle-callback-from-atlant-payments)

You'll need to autoload this code in order to handle notifications:

```
$gate = new atlantpayments\Gate('secret');
$callback = $gate->handleCallback($data);
```

`$data` is the JSON data received from payment system;

`$callback` is the Callback object describing properties received from payment system; `$callback` implements these methods:

1. `Callback::getPaymentStatus();`Get payment status.
2. `Callback::getPayment();`Get all payment data.
3. `Callback::getPaymentId();`Get payment ID in your system.

### TODO

[](#todo)

- Payment Page opening
- Notifications handling
- Direct Gate requests
- PHPDoc

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

1754d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95e5661c0df2e20252708334790a3c9df3002311d094b725e45a13a75bc51a42?d=identicon)[atlantpayments](/maintainers/atlantpayments)

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/atlantpayments-paymentpage-sdk/health.svg)

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

###  Alternatives

[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.2k](/packages/msilabs-bkash)[binkode/laravel-paystack

A description for laravel-paystack.

112.1k](/packages/binkode-laravel-paystack)

PHPackages © 2026

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