PHPackages                             bionyxxx/digiflazz - 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. [API Development](/categories/api)
4. /
5. bionyxxx/digiflazz

ActiveLibrary[API Development](/categories/api)

bionyxxx/digiflazz
==================

Laravel Digiflazz Client

1.1.2(4y ago)0101MITPHP

Since Aug 11Pushed 4y agoCompare

[ Source](https://github.com/bionyxxx/svaflazz)[ Packagist](https://packagist.org/packages/bionyxxx/digiflazz)[ RSS](/packages/bionyxxx-digiflazz/feed)WikiDiscussions master Synced yesterday

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

Svaflazz
========

[](#svaflazz)

This package will handle laravel integration to Digiflazz. Just provide the credentials and we will take care the rest.

Before using this package we highly recommend reading [the entire documentation on Digiflazz](https://developer.digiflazz.com/api/)

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

[](#installation)

Since we are using Guzzle 7.0, you need to make sure `guzzlehttp/guzzle` in your `composer.json` is at least `^7.0`.

You can install the package via composer:

```
composer require svakode/svaflazz
```

The service provider will automatically register itself.

You must publish the config file with:

```
php artisan vendor:publish --provider="Svakode\Svaflazz\SvaflazzServiceProvider"
```

This is the contents of the config file that will be published at `config/svaflazz.php`:

```
return [
    /*
    * Digiflazz will require you to request username and key
    * these will be used for making a request to digiflazz
    */
    'username' => env('DIGIFLAZZ_USERNAME'),
    'key' => env('DIGIFLAZZ_KEY'),

    /*
    * Digiflazz Base URL
    */
    'base_url' => env('DIGIFLAZZ_BASE_URL', 'https://api.digiflazz.com/v1'),
];
```

Usage
-----

[](#usage)

Digiflazz have several features which we supported, these features are:

#### Check Balance

[](#check-balance)

This feature is for retrieving the balance of the user

```
Svaflazz::checkBalance();

```

#### Deposit

[](#deposit)

This feature is for creating a deposit ticket to Digiflazz, in this feature you need to provide us:

ParameterRequiredDescriptionamountyesDeposit amountbankyesBank nameowner\_nameyesOwner name for the bank account```
Svaflazz::deposit($amount, $bank, $owner_name);

```

#### Price List

[](#price-list)

This feature is for retrieving the price list in Digiflazz.

```
Svaflazz::priceList();

```

Alternatively, you can also pass your `buyer_sku_code` as an optional parameter to get the price for that code.

```
Svaflazz::priceList($buyer_sku_code);

```

#### Topup

[](#topup)

This feature is for doing a prepaid transaction in Digiflazz. you need to provide us

ParameterRequiredDescriptionbuyer\_sku\_codeyesProduct SKUcustomer\_noyesCustomer numberref\_idyesReference IDmsgnoTransaction message```
Svaflazz::topup($buyer_sku_code, $customer_no, $ref_id);

```

#### Check Bill

[](#check-bill)

This feature is for checking whether postpaid bill already issued in Digiflazz. you need to provide us

ParameterRequiredDescriptionbuyer\_sku\_codeyesProduct SKUcustomer\_noyesCustomer numberref\_idyesReference ID```
Svaflazz::checkBill($buyer_sku_code, $customer_no, $ref_id);

```

#### Pay Bill

[](#pay-bill)

This feature is for paying a postpaid bill in Digiflazz. you need to provide us

ParameterRequiredDescriptionbuyer\_sku\_codeyesProduct SKUcustomer\_noyesCustomer numberref\_idyesReference ID```
Svaflazz::payBill($buyer_sku_code, $customer_no, $ref_id);

```

#### Check Status Bill

[](#check-status-bill)

This feature is for checking the payment status of a postpaid bill in Digiflazz. you need to provide us

ParameterRequiredDescriptionbuyer\_sku\_codeyesProduct SKUcustomer\_noyesCustomer numberref\_idyesReference ID```
Svaflazz::checkStatusBill($buyer_sku_code, $customer_no, $ref_id);

```

#### Inquiry PLN

[](#inquiry-pln)

This feature is for inquiring PLN bill in Digiflazz. you need to provide us

ParameterRequiredDescriptioncustomer\_noyesCustomer number```
Svaflazz::inquiryPLN($customer_no);

```

Artisan Command
---------------

[](#artisan-command)

Too lazy to make a system? We got you covered. We provide Artisan Command for you to do a topup using

```
php artisan svaflazz:topup

```

You will be prompted to input `buyer_sku_code`, `customer_no`, and `ref_id`.

Exception Handling
------------------

[](#exception-handling)

In case of `Request Exception` which can be happened due to various reason we will throw `SvaflazzException` which will accommodate the `message` and `rc` given by Digiflazz.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information about what has changed recently.

Credits
-------

[](#credits)

- [Hansen Edrick Harianto](https://github.com/Fillirio)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~99 days

Total

5

Last Release

1702d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

digiflazzsvakodesvaflazzlaravel-digiflazz

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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