PHPackages                             atlantic/atlantic-gateway - 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. atlantic/atlantic-gateway

ActiveLibrary

atlantic/atlantic-gateway
=========================

Web based gateway

13PHP

Since Dec 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/RaRashed/first-atlantic-gateway-php)[ Packagist](https://packagist.org/packages/atlantic/atlantic-gateway)[ RSS](/packages/atlantic-atlantic-gateway/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Atlantic Gateway
================

[](#atlantic-gateway)

Atlantic Gateway is a PHP library that provides an interface to integrate payment transactions with the Atlantic Payment Gateway.

Features
--------

[](#features)

- Easy integration with Atlantic Payment Gateway.
- Supports `test` and `live` modes.
- Handles payment transactions securely.
- Allows flexible configuration for payer information.

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

[](#installation)

You can install this package using Composer:

```
composer require atlantic/atlantic-gateway
```

\#Configuration

Set up the gateway configuration:

```
$config = [
    'mode' => 'test', // or 'live'
    'transaction_id' => 'gateway-transaction-id',
    'transaction_password' => 'gateway-transaction-password',
    'currency' => '840', // USD
    'pageset' => 'pageset',
    'pagename' => 'pageset',
];

$atlantic = new Atlantic($config);
```

\#Usage

Making a Transaction

You can initiate a transaction by providing the payment amount, payer information, and a callback URL:

```
$data = [
    'payment_amount' => 100,
    'payer_information' => json_encode([
        'name' => 'Ra Rashed',
        'email' => 'rnrashedrn@gmail.com',
        'phone' => '+8801827801715',
        // Optional
        // "Line1" => "1200 Whitewall Blvd.",
        // "Line2" => "Unit 15",
        // "City" => "Boston",
        // "State" => "NY",
        // "PostalCode" => "200341",
        // "CountryCode" => "840",
    ]),
    'callback' => 'return_url',
];

try {
    $response = $atlantic->makeTransaction($data);
    if (isset($response['RedirectData'])) {
        echo $response['RedirectData'];
    }
} catch (Exception $e) {
    return $e->getMessage();
}
```

\#Checking a Transaction

You can check the status of a transaction using its SpiToken: you can get SpiToken in your callback

```
$transactionCheck = $atlantic->checkTransaction($SpiToken);

print_r($transactionCheck);
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ebec0c4630ffd16526e0d023fa0ad02469679c150628b49729aae6f5092c3b4?d=identicon)[RaRashed](/maintainers/RaRashed)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/atlantic-atlantic-gateway/health.svg)

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

PHPackages © 2026

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