PHPackages                             bionyxxx/wijayapay-php - 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. bionyxxx/wijayapay-php

ActiveLibrary[Payment Processing](/categories/payments)

bionyxxx/wijayapay-php
======================

WijayaPay Payment Gateway PHP Library

v1.0.2(4mo ago)09↓50%MITPHPPHP &gt;=7.4

Since Dec 10Pushed 4mo agoCompare

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

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

WijayaPay PHP Library
=====================

[](#wijayapay-php-library)

This is the official PHP wrapper for the WijayaPay Payment Gateway API.

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

[](#installation)

```
composer require bionyxxx/wijayapay-php --dev
```

Usage
-----

[](#usage)

### Configuration

[](#configuration)

```
use WijayaPay\Config;
use WijayaPay\WijayaPay;

$config = new Config(
    'YOUR_MERCHANT_CODE', // code_merchant
    'YOUR_API_KEY',       // api_key
    true                  // isProduction (true/false)
);

$wijayaPay = new WijayaPay($config);
```

### Get Payment Channels

[](#get-payment-channels)

Get the list of active payment channels.

```
try {
    $channels = $wijayaPay->payment()->getChannels();
    print_r($channels);
} catch (Exception $e) {
    echo "Error: " . $e->getMessage();
}
```

### Create Transaction

[](#create-transaction)

Create a new payment request.

```
try {
    $response = $wijayaPay->transaction()->create([
        'ref_id'       => 'ORDER-12345',
        'code_payment' => 'QRIS',
        'nominal'      => 100000,
        // Add other parameters if needed
    ]);

    print_r($response);
} catch (Exception $e) {
    echo "Error: " . $e->getMessage();
}
```

### Check Transaction Status

[](#check-transaction-status)

Check the status of a transaction using its reference ID.

```
try {
    $refId = 'ORDER-12345';
    $status = $wijayaPay->transaction()->checkStatus($refId);
    print_r($status);
} catch (Exception $e) {
    echo "Error: " . $e->getMessage();
}
```

### Webhook Handling

[](#webhook-handling)

Handle incoming callbacks from WijayaPay.

```
use WijayaPay\Webhook\WebhookHandler;

$handler = new WebhookHandler();

// Get the data
$data = $handler->parse();

// Process your logic here with $data...
// e.g. update transaction status in database

// Return success response to WijayaPay
header('Content-Type: application/json');
echo $handler->successResponse();
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance74

Regular maintenance activity

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

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.

###  Release Activity

Cadence

Every ~3 days

Total

3

Last Release

147d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

phpsdkpaymentgatewaywijayapay

### Embed Badge

![Health badge](/badges/bionyxxx-wijayapay-php/health.svg)

```
[![Health](https://phpackages.com/badges/bionyxxx-wijayapay-php/health.svg)](https://phpackages.com/packages/bionyxxx-wijayapay-php)
```

###  Alternatives

[lokielse/omnipay-wechatpay

Wechat gateway for Omnipay payment processing library

329224.5k7](/packages/lokielse-omnipay-wechatpay)

PHPackages © 2026

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