PHPackages                             akshyaraait/rpclient - 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. akshyaraait/rpclient

ActiveLibrary

akshyaraait/rpclient
====================

RaudhahPay Gateway wrapper client

054PHP

Since Dec 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/akshyaraait/rpclient)[ Packagist](https://packagist.org/packages/akshyaraait/rpclient)[ RSS](/packages/akshyaraait-rpclient/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Raudhah Pay Client Library using PHP Framework
==============================================

[](#raudhah-pay-client-library-using-php-framework)

It is simple wrapper class written in php to ease use of [RaudhahPay Payment Gateway](https://www.raudhahpay.com/)

Directory
---------

[](#directory)

- [Installation](#installation)
- [Usages](#usages)

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

[](#installation)

### Composer

[](#composer)

```
composer require AkshyaraaIt/rpclient

```

Alternatively, you can specify as a dependency in your project's existing composer.json file

```
{
   "require": {
      "akshyaraait/rpclient": "^1.0.0"
   }
}

```

Usages
------

[](#usages)

After installing, you need to require Composer's autoloader and add your code.

Setup config

```
$config = [
    'api_key' => getenv('RAUDHAH_API_KEY'),
    'signature_key' => getenv('RAUDHAH_X_SIGNATURE')
];

```

Or use Laravel config file name it as `raudhahpay.php` and leave `make()` blank

```
return [
    'api_key' => env('RAUDHAH_API_KEY'),
    'signature_key' => env('RAUDHAH_X_SIGNATURE', null),
    'is_sandbox' => env('RAUDHAH_SANDBOX', env('APP_ENV') != 'production'),
];

```

Collection
----------

[](#collection)

### Create collection

[](#create-collection)

```
RaudhahPay::make()
    ->collection()
    ->create("Collection Name");

```

### Get collections

[](#get-collections)

```
RaudhahPay::make()
    ->collection()
    ->fetchList();

```

### Update collection name

[](#update-collection-name)

```
RaudhahPay::make()
    ->collection()
    ->updateCollectionName("CollectionID", "New Name");

```

### Get collections by code

[](#get-collections-by-code)

```
RaudhahPay::make()
    ->collection()
    ->fetchByCode("CollectionCode");

```

Bills
-----

[](#bills)

### Create Bill

[](#create-bill)

```
RaudhahPay::make()
    ->bill()
    ->makeBill("COLLECTION CODE")
    ->setCustomer("Amirul", "Amirul", "hello@gmail.com", "60123456789", "Melaka")
    ->setReference("Testing")
    ->setProduct("Product 1", 10.30, 1)
    ->create();

```

Products
--------

[](#products)

### Create product

[](#create-product)

```
RaudhahPay::make()
    ->product()
    ->create(string|array $title/$arrays, string $code, string $description, $price);

```

### Get products

[](#get-products)

```
RaudhahPay::make()
    ->product()
    ->getList();

```

Customer
--------

[](#customer)

### Create customer

[](#create-customer)

```
RaudhahPay::make()
    ->customer()
    ->create(string|array $firstName/$arrays, string $lastName = null, string $phoneNumber = null, string $email = null);

```

### Get customers

[](#get-customers)

```
RaudhahPay::make()
    ->customer()
    ->getList();

```

DirectPay
---------

[](#directpay)

### DirectPay Payee

[](#directpay-payee)

```
$response = RaudhahPay::make()
    ->directPay()
    ->payee("COLLECTION CODE")
    ->getDirectPays();

```

### DirectPay Payeer

[](#directpay-payeer)

```
$response = RaudhahPay::make()
    ->directPay()
    ->payee("COLLECTION CODE")
    ->getTransactions($direct_pay_payer_code);

```

### Check checksum from Redirect/Webhook

[](#check-checksum-from-redirectwebhook)

```
RaudhahPay::make()->isCheckSumValid($payload); //boolean

```

Source
------

[](#source)

[Raudhah Pay Docs](https://documenter.getpostman.com/view/9723080/SWE57zKG?version=latest)

Todo
----

[](#todo)

- Other Raudhah Pay features. Still under development
- Unit Test
- Alter Readme

License
-------

[](#license)

Licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

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/8dc8c10ff7f7365a9060dc5397facfea5f9badefb56ad12bca77d193e28a1fd4?d=identicon)[Akshyaraa](/maintainers/Akshyaraa)

---

Top Contributors

[![akshyaraait](https://avatars.githubusercontent.com/u/155069657?v=4)](https://github.com/akshyaraait "akshyaraait (6 commits)")

### Embed Badge

![Health badge](/badges/akshyaraait-rpclient/health.svg)

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

PHPackages © 2026

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