Download the PHP package msilabs/bkash without Composer
On this page you can find all versions of the php package msilabs/bkash. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download msilabs/bkash
More information about msilabs/bkash
Files in msilabs/bkash
Package bkash
Short Description bKash Tokenized Checkout (v2) payment gateway for Laravel, with refund, query, agreement and multi-merchant support.
License MIT
Homepage https://github.com/msilabs/bkash
Informations about the package bkash
msilas/bkash
bKash Payment Gateway API for Laravel Framework.
Requirements
- PHP >= 7.4
- Laravel >= 6
Get Started
Install msilabs/bkash via the Composer package manager:
Optionally, publish the configuration file
Set up the environment configuration in your .env file:
Sandbox validation
Start local server.
To validate create-payment visit /bkash-sandbox-validation/create-payment url
To validate execute-payment visit /bkash-sandbox-validation/execute-payment url
for multiple account see this: Multiple Account
Usage
Include the BkashPayment trait in your controller:
create payment
execute payment
Production Use
Set live credentials in your .env file:
Multiple Account
Add multiple accounts in the config/bkash.php file. For example, to add secondary account:
Set multiple credentials in your .env file:
Multiple Sandbox validation : example
To validate create-payment for secondary account, visit the following URL:
To validate execute-payment for secondary account, visit the following URL:
All versions of bkash with dependencies
guzzlehttp/guzzle Version ^7.2
illuminate/cache Version ^9.33|^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^9.33|^10.0|^11.0|^12.0|^13.0
illuminate/log Version ^9.33|^10.0|^11.0|^12.0|^13.0
illuminate/routing Version ^9.33|^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^9.33|^10.0|^11.0|^12.0|^13.0