Download the PHP package svakode/svaflazz without Composer

On this page you can find all versions of the php package svakode/svaflazz. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package 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

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:

The service provider will automatically register itself.

You must publish the config file with:

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

Usage

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

Check Balance

This feature is for retrieving the balance of the user

Deposit

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

Parameter Required Description
amount yes Deposit amount
bank yes Bank name
owner_name yes Owner name for the bank account

Price List

This feature is for retrieving the price list in Digiflazz.

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

Topup

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

Parameter Required Description
buyer_sku_code yes Product SKU
customer_no yes Customer number
ref_id yes Reference ID
msg no Transaction message

Check Bill

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

Parameter Required Description
buyer_sku_code yes Product SKU
customer_no yes Customer number
ref_id yes Reference ID

Pay Bill

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

Parameter Required Description
buyer_sku_code yes Product SKU
customer_no yes Customer number
ref_id yes Reference ID

Check Status Bill

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

Parameter Required Description
buyer_sku_code yes Product SKU
customer_no yes Customer number
ref_id yes Reference ID

Inquiry PLN

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

Parameter Required Description
customer_no yes Customer number

Artisan Command

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

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

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

Please see CHANGELOG for more information about what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of svaflazz with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package svakode/svaflazz contains the following files

Loading the files please wait ....