PHPackages                             aba\_payway\_gateway/php\_payway - 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. aba\_payway\_gateway/php\_payway

ActiveLibrary[Payment Processing](/categories/payments)

aba\_payway\_gateway/php\_payway
================================

Allow you to integrate your app in php language with ABA PayWay

1.0.2(1y ago)0115↓25%[1 PRs](https://github.com/kechankrisna/php_payway/pulls)proprietaryPHP

Since Nov 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/kechankrisna/php_payway)[ Packagist](https://packagist.org/packages/aba_payway_gateway/php_payway)[ Docs](https://github.com/kechankrisna/php_payway)[ RSS](/packages/aba-payway-gateway-php-payway/feed)WikiDiscussions v1.0.2 Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (7)Used By (0)

`Payway in php`

PaywayTransactionService is required
------------------------------------

[](#paywaytransactionservice-is-required)

```
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
$dotenv->load();

$merchant = new PaywayMerchant(
     merchantID: $_ENV['ABA_PAYWAY_MERCHANT_ID'] ?? '',
     merchantApiName: $_ENV['ABA_PAYWAY_MERCHANT_NAME'] ?? '',
     merchantApiKey: $_ENV['ABA_PAYWAY_API_KEY'] ?? '',
     baseApiUrl: $_ENV['ABA_PAYWAY_API_URL'] ?? '',
     refererDomain: "http://mylekha.app",
);

$service = new PaywayTransactionService(merchant: $merchant);
```

### Create Transaction Example

[](#create-transaction-example)

```
  $tran_id = $service->uniqueTranID();
    $items = [
        new PaywayTransactionItem(name: "ទំនិញ 1", quantity: 1, price: 1,),
        new PaywayTransactionItem(name: "ទំនិញ 2", quantity: 1, price: 2,),
        new PaywayTransactionItem(name: "ទំនិញ 3", quantity: 1, price: 3,),
    ];
  $transaction = new PaywayCreateTransaction(
    tran_id: $tran_id,
    req_time: $service->uniqueReqTime(),
    amount: 6.00,
    items: $items,
    firstname: 'Miss',
    lastname: 'My Lekha',
    phone: '010464144',
    email: 'support@mylekha.app',
    option: PaywayPaymentOption::abapay_deeplink,
    type: PaywayTransactionType::purchase,
    currency: PaywayTransactionCurrency::USD,
    return_url: "https://stage.mylekha.app",
    shipping: 0.0,
 );
$form_service = new PaywayClientFormRequestService(merchant: $merchant);
$request_options = $form_service->generateCreateTransactionFormData(transaction: $transaction);

$createResponse = $service->createTransaction(transaction: $transaction);
```

### Check Transaction Example

[](#check-transaction-example)

```
$checkTransaction = $transaction = new PaywayCheckTransaction(tran_id: $tran_id, req_time: $service->uniqueReqTime());
$checkResponse = $service->checkTransaction(transaction: $checkTransaction);

dd($checkResponse);
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.5% 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 ~80 days

Recently: every ~61 days

Total

6

Last Release

521d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dc8fde5264e448644417d9520696428be87e3fb5bbb04479ac763a9180a581f8?d=identicon)[kechankrisna](/maintainers/kechankrisna)

---

Top Contributors

[![kechankrisna](https://avatars.githubusercontent.com/u/36706394?v=4)](https://github.com/kechankrisna "kechankrisna (5 commits)")[![kechankrisna-squeeze](https://avatars.githubusercontent.com/u/173016907?v=4)](https://github.com/kechankrisna-squeeze "kechankrisna-squeeze (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aba-payway-gateway-php-payway/health.svg)

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

###  Alternatives

[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)[imdhemy/google-play-billing

Google Play Billing

491.3M5](/packages/imdhemy-google-play-billing)[buckaroo/sdk

Buckaroo payment SDK

12189.1k9](/packages/buckaroo-sdk)[contica/facturador-electronico-cr

Un facturador de código libre para integrar facturación electrónica en Costa Rica a un proyecto PHP

2128.8k](/packages/contica-facturador-electronico-cr)

PHPackages © 2026

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