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

ActiveLibrary[Payment Processing](/categories/payments)

klsandbox/billplz
=================

Just another Billplz package for Laravel

v1.0.1(9y ago)0288MITPHPPHP ^5.3.3 | ^7.0

Since Jan 5Pushed 9y ago2 watchersCompare

[ Source](https://github.com/klsandbox/Billplz)[ Packagist](https://packagist.org/packages/klsandbox/billplz)[ RSS](/packages/klsandbox-billplz/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

BillPlz Client For Laravel
==========================

[](#billplz-client-for-laravel)

[![Build Status](https://camo.githubusercontent.com/864652a9fd6138c0de0ddffb61c51249ec6d6132acf70651a1a777e5b54a65bb/68747470733a2f2f696d672e736869656c64732e696f2f636972636c6563692f70726f6a6563742f6769746875622f68616d7a61686a616d61642f62696c6c706c7a2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/864652a9fd6138c0de0ddffb61c51249ec6d6132acf70651a1a777e5b54a65bb/68747470733a2f2f696d672e736869656c64732e696f2f636972636c6563692f70726f6a6563742f6769746875622f68616d7a61686a616d61642f62696c6c706c7a2e7376673f7374796c653d666c61742d737175617265)

This client is a simple Billplz client that can be used with Laravel 5. You may check their [api](https://www.billplz.com/api) for full documentation.

How To Use
----------

[](#how-to-use)

After installing via composer, simply use it by creating a new object and put the Api key as it argument.

`$billplz = new \Klsandbox\BillPlz\BillPlz("Token_here");`

To use the Sandbox Mode api, just pass `false` as a second argument.

`$billplz = new \Klsandbox\BillPlz\BillPlz("Token_here" , false);`

##### Create a new collection.

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

`$billplz = new \Klsandbox\BillPlz\BillPlz("Token_here");`

`$billplz->setCollection(['title'=>'Ahmad Shop']);`

##### Create a new bill.

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

`$billplz = new \Klsandbox\BillPlz\BillPlz("Token_here");`

```
$data = [
        "collection_id" => "some_collection_id",
        "description" => "some_description",
        "name" => "test",
        "email" => "test@example.com",
        "amount" => 300,
        "callback_url" => "https://test.com/test",
        ];

```

`$billplz->setBill($data);`

### List of available method

[](#list-of-available-method)

#### Collection

[](#collection)

- `setCollection(array $data)`
- `setOpenCollection(array $data)`
- `deactivateCollection($collection_id)`
- `activateCollection($collection_id)`

#### Bill

[](#bill)

- `setBill(array $data)`
- `getBill($bill_id)`
- `deleteBill($bill_id)`

#### Bank Account

[](#bank-account)

- `verifyAccount($bank_account)`

Run Test File
-------------

[](#run-test-file)

To run the test, create a new `secret-env-plain` file. In this file, put this two line,

```
TOKEN=PUT_TOKEN_HERE
BANK_ACC=PUT_BANK_ACCOUNT_HERE

```

replace the PUT\_TOKEN\_HERE and PUT\_BANK\_ACCOUNT\_HERE text with the token and bank account you filled on the staging server. The test will run using the staging server api.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability within this BillPlz client, please send an e-mail to Ibrahim Abdul Rahim at .

License
-------

[](#license)

This client are open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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 ~21 days

Total

2

Last Release

3393d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b8fab0311a43dcd4c1cceb6e5f93e71fa9ce2a2e31d7e49976d0fc7b0e7964a?d=identicon)[hamzahjamad](/maintainers/hamzahjamad)

---

Top Contributors

[![hamzahjamad](https://avatars.githubusercontent.com/u/16928309?v=4)](https://github.com/hamzahjamad "hamzahjamad (14 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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