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

ActiveLibrary[Payment Processing](/categories/payments)

polashmahmud/bkash
==================

Bkash Payment Gateway for Laravel

v0.07(2y ago)7376MITBladePHP ^7.2|^8.0|^8.1|^8.2|^8.3

Since Jan 31Pushed 7mo ago1 watchersCompare

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

READMEChangelog (8)Dependencies (2)Versions (9)Used By (0)

Bkash Gateway for Laravel
=========================

[](#bkash-gateway-for-laravel)

This package is a wrapper for the [Bkash](https://www.bkash.com/) payment gateway for Laravel. It uses the [Bkash](https://www.bkash.com/) API to process payments. This package is not officially supported by [Bkash](https://www.bkash.com/). Use at your own risk. Feel free to contribute.

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

[](#installation)

You can install the package via composer:

```
composer require polashmahmud/bkash
```

Usage
-----

[](#usage)

### Configuration

[](#configuration)

Publish the configuration file using the following command:

```
php artisan vendor:publish --provider="Polashmahmud\Bkash\BkashServiceProvider"
```

This will create a `bkash.php` file in your `config` folder. Here you can set your Bkash credentials. You can also set your credentials in your `.env` file.

```
BKASH_BASE_URL=https://tokenized.sandbox.bka.sh/v1.2.0-beta
BKASH_APP_KEY=
BKASH_APP_SECRET=
BKASH_USER_NAME=
BKASH_PASSWORD=
```

### Create Payment

[](#create-payment)

You can call a post request to create payment.

**Route Url:** `bkash/payment/create`**Route Name:** `bkash.payment.create`**Method:** `POST`**Request Body:**

KeyTypeDescriptionamountintegerAmount of the paymentreferencestringPayment ReferenceinvoicestringInvoice NumberredirectstringRedirect URLAdmin Panel
-----------

[](#admin-panel)

You can access the admin panel by visiting `/bkash` route.

### Admin Panel Access User

[](#admin-panel-access-user)

You can set the admin panel access user by setting the `allowed_emails` in your `config/bkash.php` file.

```
'allowed_emails' => [
  'polashmahmud@gmail.com'
],
```

Refund Payment And other features
---------------------------------

[](#refund-payment-and-other-features)

You can refund payment and other features by using the Admin Panel.

View
----

[](#view)

If you publish the views, you can customize the views in `resources/views/vendor/bkash` folder.

```
php artisan vendor:publish --provider="Polashmahmud\Bkash\BkashServiceProvider" --tag="views"
```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance45

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~95 days

Recently: every ~166 days

Total

8

Last Release

220d ago

PHP version history (2 changes)v0.0.1PHP ^7.2|^8.0|^8.1|^8.2|^8.3

v0.0.8PHP ^7.2|^8.0|^8.1|^8.2|^8.3|^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8996190?v=4)[Polash Mahmud](/maintainers/polashmahmud)[@polashmahmud](https://github.com/polashmahmud)

---

Top Contributors

[![polashmahmud](https://avatars.githubusercontent.com/u/8996190?v=4)](https://github.com/polashmahmud "polashmahmud (39 commits)")

### Embed Badge

![Health badge](/badges/polashmahmud-bkash/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M193](/packages/laravel-ai)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k90.5k1](/packages/mike-bronner-laravel-model-caching)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.5M1](/packages/glushkovds-phpclickhouse-laravel)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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