PHPackages                             corneltek/esunacq - 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. corneltek/esunacq

ActiveLibrary[Payment Processing](/categories/payments)

corneltek/esunacq
=================

EsunBank ACQ Payment API

1.0.0(10y ago)14715[1 issues](https://github.com/corneltek/esunacq/issues)1proprietaryPHPPHP &gt;=5.4.0

Since May 11Pushed 10y ago1 watchersCompare

[ Source](https://github.com/corneltek/esunacq)[ Packagist](https://packagist.org/packages/corneltek/esunacq)[ RSS](/packages/corneltek-esunacq/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

Payment Library for ESUN ACQ
============================

[](#payment-library-for-esun-acq)

[![Latest Stable Version](https://camo.githubusercontent.com/5f17dca76fadcd8bc1de29f0ff160a2d48e6c7cdb3c84f575e921d1636e2fc6e/68747470733a2f2f706f7365722e707567782e6f72672f636f726e656c74656b2f6573756e6163712f76657273696f6e)](https://packagist.org/packages/corneltek/esunacq)[![Latest Unstable Version](https://camo.githubusercontent.com/4ae441dee759dff072a4f06336606db2ac26b3dd36f9e9c17b58bdb12f5d8532/68747470733a2f2f706f7365722e707567782e6f72672f636f726e656c74656b2f6573756e6163712f762f756e737461626c65)](//packagist.org/packages/corneltek/esunacq)[![Total Downloads](https://camo.githubusercontent.com/7e3ad2bb512b6c72e207385122a7ebb707ecb85de2b8bcbae13570a897478182/68747470733a2f2f706f7365722e707567782e6f72672f636f726e656c74656b2f6573756e6163712f646f776e6c6f616473)](https://packagist.org/packages/corneltek/esunacq)

This payment library isn't tight coupled to the frameworks, models or db connections, you can use this library to build up the forms or verify the response separately.

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

[](#installation)

```
composer require corneltek/esunacq
```

Usage
-----

[](#usage)

For the config variables, please check your documentation from Esunbank.

### AuthRequestBuilder

[](#authrequestbuilder)

```
use EsunBank\ACQ\AuthRequestBuilder;
use EsunBank\ACQ\TxnType;

$builder = new AuthRequestBuilder('MAC KEY', [
    'MID' => '...',
    'CID' => '...',
    'U'   => '/path/to/response',
]);
$formFields = $builder->formFields('ORDER' . time(), 200, TxnType::INSTALLMENT, $ic = '...', $bpf = '...');
```

### AuthResponseVerifier

[](#authresponseverifier)

```
use EsunBank\ACQ\AuthResponseVerifier;
$verifier = new AuthResponseVerifier('MAC KEY', [
    'MID' => '...',
]);
$this->assertTrue($verifier->verify($_REQUEST));
```

See `examples` for more details.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3702d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3cc34cde233b660869ff329ed8e20df611f75dfb61aab3e30889ac153d3e5e61?d=identicon)[c9s](/maintainers/c9s)

---

Top Contributors

[![c9s](https://avatars.githubusercontent.com/u/50894?v=4)](https://github.com/c9s "c9s (5 commits)")

### Embed Badge

![Health badge](/badges/corneltek-esunacq/health.svg)

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

###  Alternatives

[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18570.2k1](/packages/omnipay-coinbase)[oxid-esales/amazon-pay-module

AmazonPay module for OXID

1824.3k](/packages/oxid-esales-amazon-pay-module)

PHPackages © 2026

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