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)0146↑81.3%[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 yesterday

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

28

—

LowBetter than 52% of packages

Maintenance37

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

567d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/36706394?v=4)[ke chankrisna](/maintainers/kechankrisna)[@kechankrisna](https://github.com/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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[bitpay/sdk

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

42361.9k4](/packages/bitpay-sdk)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.5M9](/packages/chargebee-chargebee-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)

PHPackages © 2026

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