Skip to content
@msilabs

msilabs

msilabs — Start typing. Keep learning.

Open-source tools & beginner-friendly lessons for web developers

GitHub · LinkedIn


📦 Packages

Package What it does Install
msilabs/bkash bKash Tokenized Checkout for Laravel — create, execute, query and refund payments with a simple Facade. composer require msilabs/bkash
@msilabs/bkash Server-side bKash Tokenized Checkout v2 client for Node.js, Bun, Deno and edge runtimes. No runtime dependencies, TypeScript types included. npm install @msilabs/bkash

msilabs/bkash (Laravel)

Latest Version Total Downloads GitHub Stars License

@msilabs/bkash (Node.js / TypeScript)

Latest Version Total Downloads GitHub Stars License

Quick look

Laravel

use Msilabs\Bkash\Facades\Bkash;

$payment = Bkash::createPayment(
    amount: 500,
    invoiceNumber: 'INV-1001',
    callbackUrl: route('bkash.callback'),
);

return redirect($payment->redirectUrl());

Node.js / TypeScript

import { BkashClient } from '@msilabs/bkash'

const bkash = new BkashClient('primary', {
  sandbox: true,
  appKey: process.env.BKASH_APP_KEY!,
  appSecret: process.env.BKASH_APP_SECRET!,
  username: process.env.BKASH_USERNAME!,
  password: process.env.BKASH_PASSWORD!,
})

const payment = await bkash.createPayment({
  amount: 500,
  invoiceNumber: 'INV-1001',
  callbackUrl: 'https://example.com/bkash/callback',
})

These are community, open-source packages. They are not official bKash products.


🎓 Learn with us

We make short animated explainers for new developers: one idea per post, with real code.

Laravel for beginners: Folder Structure · MVC · Routing · Blade · Migrations · Eloquent · Request Lifecycle · Middleware · and more

Coming later: PHP, JavaScript and Dart series.

👉 Follow along on LinkedIn.


🤝 Contributing

Issues, ideas and pull requests are welcome on any repository. Found a bug? Open an issue with steps to reproduce. Have a question? Start a discussion.

msilabs · Start typing. Keep learning.

Popular repositories Loading

  1. bkash bkash Public

    bKash Payment Gateway API for Laravel Framework.

    PHP 21 7

  2. bkash-js bkash-js Public

    Server-side bKash Tokenized Checkout v2 client for Node, Bun, Deno and edge runtimes.

    TypeScript 5

  3. msilabs-cv-builder msilabs-cv-builder Public

    TypeScript 4 1

  4. qr-code-generator qr-code-generator Public

    JavaScript 2 1

  5. contact contact Public

    This will send email to admin and save contact query in database

    PHP 1

  6. .github .github Public

Repositories

Showing 10 of 13 repositories