PHPackages                             kbtonmoy/fraud-checker-for-bagisto - 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. [Security](/categories/security)
4. /
5. kbtonmoy/fraud-checker-for-bagisto

ActiveLibrary[Security](/categories/security)

kbtonmoy/fraud-checker-for-bagisto
==================================

Order fraud checker for Bagisto — screens customer phone numbers against BD Courier delivery history and flags risky cash-on-delivery orders in the admin panel.

v1.0.2(1mo ago)04MITPHPPHP ^8.3

Since Jul 4Pushed 1mo agoCompare

[ Source](https://github.com/kbtonmoy/fraud-checker-for-bagisto)[ Packagist](https://packagist.org/packages/kbtonmoy/fraud-checker-for-bagisto)[ RSS](/packages/kbtonmoy-fraud-checker-for-bagisto/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (4)Used By (0)

Fraud Checker for Bagisto
=========================

[](#fraud-checker-for-bagisto)

Order fraud screening for [Bagisto](https://bagisto.com) 2.4.x. Checks a customer's phone number against [BD Courier](https://bdcourier.com) delivery history and surfaces a success/return ratio in the admin order view — useful for vetting risky cash-on-delivery orders.

Requirements
------------

[](#requirements)

- Bagisto `^2.4`
- PHP `^8.3`
- A BD Courier API key

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

[](#installation)

### 1. Require the package

[](#1-require-the-package)

**From Packagist (public):**

```
composer require kbtonmoy/fraud-checker-for-bagisto
```

**From the Git repo (reuse across your own projects):** add the repository to your project's root `composer.json`, then require it:

```
"repositories": [
    { "type": "vcs", "url": "https://github.com/kbtonmoy/fraud-checker-for-bagisto.git" }
]
```

```
composer require kbtonmoy/fraud-checker-for-bagisto:^1.0
```

**From a local path (monorepo / same machine):** with Bagisto's default `packages/*/*` path repository in place, drop the folder into `packages/Webkul/FraudChecker/` and run:

```
composer require kbtonmoy/fraud-checker-for-bagisto:@dev
```

The main service provider is auto-discovered — no need to edit `bootstrap/providers.php`.

### 2. Register the Concord module

[](#2-register-the-concord-module)

Concord model registration is **not** auto-discovered. Add this one line to the `modules` array in your project's `config/concord.php`:

```
'modules' => [
    // ...
    Webkul\FraudChecker\Providers\ModuleServiceProvider::class,
],
```

### 3. Migrate and clear caches

[](#3-migrate-and-clear-caches)

```
php artisan migrate            # creates the fraud_checks table
php artisan optimize:clear
```

The fraud check runs on a queued job (`CheckOrderFraud`), so make sure a queue worker is running (`php artisan queue:work`) if you use a non-sync queue driver.

Configuration
-------------

[](#configuration)

In the admin panel go to **Configure → Sales → Fraud Checker** and set:

SettingConfig keyNotesEnabled`sales.fraud_checker.settings.enabled`Master on/off switchAPI Key`sales.fraud_checker.settings.api_key`Your BD Courier API keyBase URL`sales.fraud_checker.settings.base_url`Defaults to `https://api.bdcourier.com`Auto check`sales.fraud_checker.settings.auto_check`Automatically screen new ordersUsage
-----

[](#usage)

With **Auto check** on, each new order is screened automatically and the result appears in a panel on the admin order view. You can also trigger a re-check manually from that panel.

License
-------

[](#license)

MIT © Khabirul Basar

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance90

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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 ~0 days

Total

3

Last Release

48d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15908639?v=4)[Khabirul Basar](/maintainers/kbtonmoy)[@kbtonmoy](https://github.com/kbtonmoy)

---

Top Contributors

[![kbtonmoy](https://avatars.githubusercontent.com/u/15908639?v=4)](https://github.com/kbtonmoy "kbtonmoy (3 commits)")

---

Tags

laravelecommercefraud detectionfraudbagistobangladeshcash-on-deliverybdcourier

### Embed Badge

![Health badge](/badges/kbtonmoy-fraud-checker-for-bagisto/health.svg)

```
[![Health](https://phpackages.com/badges/kbtonmoy-fraud-checker-for-bagisto/health.svg)](https://phpackages.com/packages/kbtonmoy-fraud-checker-for-bagisto)
```

###  Alternatives

[bagisto/b2b-suite

A comprehensive B2B Suite extension for Bagisto, providing company management, customer-company associations, and role-based permissions.

182.0k](/packages/bagisto-b2b-suite)

PHPackages © 2026

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