Download the PHP package hmm/dingerprebuildform without Composer
On this page you can find all versions of the php package hmm/dingerprebuildform. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package dingerprebuildform
Dinger Prebuild Form Integration Package
Requirements
- PHP >= 8.0;
- composer;
Features
- PSR-4 autoloading compliant structure.
- Easy to use with Laravel framework.
- Useful tools for better code included.
Installation
composer require hmm/dingerprebuildform
Set Up Tools
Running Command:
php artisan vendor:publish --provider="Hmm\Dingerprebuildform\DingerServiceProvider" --tag="config"
Config Output
-
This command will create dinger.php file inside config folder like this,
- Important - You need fill the dinger info in this config file for package usage.
Package Usage
Generate Prebuild Url:
use Hmm\Dingerprebuildform\Dinger;
Dinger::load(@multidimensionalArray $items,@String $customerName, @Int $totalAmount, @String $merchantOrderId);
-
Note
- items array must be include name, amount, quantity.
- customerName must be string.
- totalAmount must be integer.
- merchantOrderId must be string.
Load Output
- This will generate a dinger prebuild form url.
Extract Callback Data:
use Hmm\Dingerprebuildform\Dinger;
Dinger::callback(@String $paymentResult,@String $checkSum);
-
Note
- paymentResult must be string.
-
checkSum must be string.
- ImportantForCallbackApi ( Not belong with this function. Just FYI).
That callback data need to call with array square brackets. Not with object arrow.
Callback Output
- This will generate decrypted callback data array.
License
HMM Reserved Since 2023.
All versions of dingerprebuildform with dependencies
PHP Build Version
Package Version
Requires
phpseclib/phpseclib Version
~2.0
The package hmm/dingerprebuildform contains the following files
Loading the files please wait ....