PHPackages                             mahedi250/bkash - 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. mahedi250/bkash

ActiveLibrary[Payment Processing](/categories/payments)

mahedi250/bkash
===============

bkash payment gateway for Laravel v.1

v1.0.4(11mo ago)32011MITPHPPHP ^7.4|^8.0|^8.1|^8.2

Since Aug 3Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/mahedihsl/bkash)[ Packagist](https://packagist.org/packages/mahedi250/bkash)[ RSS](/packages/mahedi250-bkash/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (6)Used By (0)

bKash Laravel Package
=====================

[](#bkash-laravel-package)

Welcome to the bKash Laravel Package! This package allows for seamless integration with the bKash payment gateway, making transactions a breeze.

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

[](#installation)

```
composer require mahedi250/bkash
```

### vendor publish (config)

[](#vendor-publish-config)

```
php artisan vendor:publish --provider="Mahedi250\Bkash\bkashServiceProvider"
```

### Set .env configuration

[](#set-env-configuration)

```
 BKASH_SANDBOX=true
 BKASH_CHECKOUT_URL_USER_NAME = ''
 BKASH_CHECKOUT_URL_PASSWORD = ''
 BKASH_CHECKOUT_URL_APP_KEY = ''
 BKASH_CHECKOUT_URL_APP_SECRET = ''
 BKASH_CALLBACK_URL='Your defined Callback URl //defualt Callback url => http://127.0.0.1:8000/bkash/callback'
```

### Generate the Controller

[](#generate-the-controller)

```
php artisan make:controller Payment/BkashPaymentController
```

[CHECKOUT (URL BASED)](https://developer.bka.sh/docs/checkout-url-process-overview)
-----------------------------------------------------------------------------------

[](#checkout-url-based)

### 1. Create Payment

[](#1-create-payment)

```
