Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Bkash Laravel Package

sabitahmad/laravel-bkash

Integrate bKash payments in Laravel (API v1.2.0) with tokenized and regular checkout, sandbox/production switching, auto token refresh, payment and agreement operations (create/execute/query/refund/search), transaction logging, retries, and validation.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Market Expansion: Enable seamless payments for Bangladesh-based users or businesses targeting the BDT market, unlocking a new revenue stream in a high-growth region.
  • Subscription/Recurring Billing: Tokenized checkout (agreement management) simplifies recurring payments for SaaS platforms, memberships, or subscription services.
  • Build vs. Buy: Avoid reinventing bKash integration wheels; leverage this package to accelerate development and reduce technical debt.
  • Use Cases:
    • E-commerce: One-click payments for returning customers.
    • Digital services: Microtransactions (e.g., mobile top-ups, content purchases).
    • B2B: Invoice settlements with automated reconciliation via transaction logging.
    • Fraud reduction: Strict validation and transaction logging improve compliance and security.
  • Roadmap:
    • Phase 1: Integrate bKash as a primary payment method for existing markets.
    • Phase 2: Expand to tokenized flows for subscriptions or high-value transactions.
    • Phase 3: Extend to other regional payment gateways (e.g., Nagad) for broader coverage.

When to Consider This Package

  • Adopt if:
    • Your product targets Bangladesh or serves BDT-paying users.
    • You need recurring payments (tokenized checkout) or high-volume transactions (e.g., e-commerce, SaaS).
    • Your team lacks bKash API expertise; the package abstracts complexity with Laravel-friendly methods.
    • You require compliance-ready logging (transaction tracking, refunds, and audits).
    • Your stack is Laravel 9.x+ with PHP 8.0+ (minimal version constraints).
  • Look elsewhere if:
    • You need multi-currency support beyond BDT (this package is BDT-specific).
    • Your users are outside Bangladesh (consider Stripe, PayPal, or regional alternatives like Razorpay).
    • You require advanced fraud tools (e.g., 3D Secure); bKash’s native features may suffice, but third-party add-ons might be needed.
    • Your team prefers low-code/no-code solutions (e.g., bKash’s native dashboard or Shopify plugins).
    • You need real-time analytics dashboards (this package focuses on API integration, not reporting).

How to Pitch It (Stakeholders)

For Executives: "This Laravel package lets us tap into Bangladesh’s $100B+ digital payments market with minimal dev effort. By integrating bKash—Bangladesh’s dominant mobile wallet (40M+ users)—we can offer seamless, low-cost payments for subscriptions, e-commerce, and B2B invoices. The tokenized checkout feature cuts friction for recurring revenue streams, while built-in fraud tools and transaction logging reduce chargebacks. With a 2-week integration timeline, we can launch faster than building from scratch, at a fraction of the cost of custom development."

For Engineering: *"This package provides a batteries-included bKash API wrapper for Laravel, handling:

  • Tokenized flows (agreements for subscriptions) with auto-refreshing OAuth tokens.
  • Resilience (retries, timeouts, and detailed error handling).
  • Laravel-native patterns (events, facades, and migrations for transaction logging).
  • Sandbox/production parity with zero code changes. The API surface is clean (e.g., Bkash::createPayment()), and the example controller shows how to wire up payments, callbacks, and refunds. We’d own the configuration (.env) and callback routes, but the heavy lifting is abstracted. Tradeoff: BDT-only, but that’s our target market."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
nasirkhan/laravel-sharekit
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony