PHPackages                             h2akim/billplz - 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. h2akim/billplz

ActiveLibrary[Payment Processing](/categories/payments)

h2akim/billplz
==============

BillPlz Payment Software API

1.0.0(9y ago)0151[1 issues](https://github.com/h2akim/billplz-php/issues)MITPHP

Since Aug 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/h2akim/billplz-php)[ Packagist](https://packagist.org/packages/h2akim/billplz)[ RSS](/packages/h2akim-billplz/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

BillPlz API on PHP
==================

[](#billplz-api-on-php)

Simple library for BillPlz Payment Software API

Getting Started
---------------

[](#getting-started)

### Composer

[](#composer)

```
composer require h2akim/billplz:*
```

How to Use
----------

[](#how-to-use)

#### Create a new Collection

[](#create-a-new-collection)

Parameters available for collection creation:

- title
- logo *(optional)* - (not tested)
- split\_payment\[email\] *(optional)*
- split\_payment\[fixed\_cut\] *(optional)*
- split\_payment\[variable\_cut\] *(optional)*
- object *(optional)* - return as object (if true)

```
namespace H2akim\Billplz;

$billplz = new Billplz([
	'api_key' => 'your-api-key'
]);

$billplz->collection()->create([
	'title' => 'My Collection'
]);
```

#### Create a new Open Collection

[](#create-a-new-open-collection)

Parameters available for open collection creation:

- title
- description
- amount
- fixed\_amount *(optional)*
- fixed\_quantity *(optional)*
- payment\_button *(optional)*
- reference\_1\_label *(optional)*
- reference\_2\_label *(optional)*
- email\_link *(optional)*
- tax *(optional)*
- photo *(optional)* - (not tested)
- split\_payment\[email\] *(optional)*
- split\_payment\[fixed\_cut\] *(optional)*
- split\_payment\[variable\_cut\] *(optional)*
- object *(optional)* - return as object (if true)

```
namespace H2akim\Billplz;

$billplz = new Billplz([
	'api_key' => 'your-api-key'
]);

$billplz->collection()->createOpen([
	'title' => 'My Collection',
	'description' => 'My Open Collection Description',
	'amount' => 100 // RM1.00
]);
```

#### Create a new Bill

[](#create-a-new-bill)

Parameters available for bill creation:

- collection\_id
- email
- mobile
- name
- amount
- callback\_url
- description
- due\_at *(optional)*
- redirect\_url *(optional)*
- deliver *(optional)* - SMS if set to true (RM0.15)
- reference\_1\_label *(optional)*
- reference\_1 *(optional)*
- reference\_2\_label *(optional)*
- reference\_2 *(optional)*
- auto\_submit *(optional)* - Skip BillPlz page. \[ Value: ***fpx*** or ***paypal*** \]
- object *(optional)* - return as object (if true)

```
namespace H2akim\Billplz;

$billplz = new Billplz([
	'api_key' => 'your-api-key'
]);

$billplz->bill()->create([
	'collection_id' => 'your-collection-id',
    'email' => 'your.client@email.com',
    'mobile' => '60123456789',
    'name' => 'Mak Jemah',
    'due_at' => '1991-4-21',
    'amount' => 5000, // RM50
    'callback_url' => "http://my-website-with-comic-sans.com/return_url"
]);
```

#### Retrieve a Bill

[](#retrieve-a-bill)

Parameters available for bill retrieval:

- bill\_id **(required)**
- object *(optional)* - return as object (if true)
- auto\_submit *(optional)* - Skip BillPlz page. \[ Value: ***fpx*** or ***paypal*** \]

```
namespace H2akim\Billplz;

$billplz = new Billplz([
	'api_key' => 'your-api-key'
]);

$billplz->bill()->get([
	'bill_id' => 'your-bill-id',
]);
```

#### Delete a Bill

[](#delete-a-bill)

Parameters available for bill deletion:

- bill\_id **(required)**

```
namespace H2akim\Billplz;

$billplz = new Billplz([
	'api_key' => 'your-api-key'
]);

$billplz->bill()->delete([
	'bill_id' => 'your-bill-id',
]);
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

3611d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/514048?v=4)[Hakim Razalan](/maintainers/h2akim)[@h2akim](https://github.com/h2akim)

---

Top Contributors

[![h2akim](https://avatars.githubusercontent.com/u/514048?v=4)](https://github.com/h2akim "h2akim (13 commits)")

### Embed Badge

![Health badge](/badges/h2akim-billplz/health.svg)

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

###  Alternatives

[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18570.2k1](/packages/omnipay-coinbase)

PHPackages © 2026

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