PHPackages                             josh/fraud - 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. josh/fraud

AbandonedArchivedLibrary[Security](/categories/security)

josh/fraud
==========

Fraud middleware for laravel

11.3kPHP

Since Nov 4Pushed 9y ago1 watchersCompare

[ Source](https://github.com/iamalirezaj/fraud)[ Packagist](https://packagist.org/packages/josh/fraud)[ RSS](/packages/josh-fraud/feed)WikiDiscussions develop Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/128738d68ea7f970ea0aa31931a4d9085f0779d920c417bb9b30a2e2716bf029/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f69616d616c6972657a616a2f66726175642f646576656c6f702e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/iamalirezaj/fraud)[![Total Downloads](https://camo.githubusercontent.com/95c5c75b6f1ca285edc1f05ad593d738eabca091e6dfe5e937ac30517ce21a82/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6f73682f66726175642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/josh/fraud)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e28eaa4ada8ac604d527b77b3ae39e4d2e29f5ca00b022dfc5eeaae1efb9b881/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f69616d616c6972657a616a2f66726175642e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/iamalirezaj/fraud/?branch=develop)[![License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/josh/fraud)

Fraud Middleware
================

[](#fraud-middleware)

Fraud Middleware for laravel

Introduction
============

[](#introduction)

- A laravel middleware for checking fraud of user

Requirement
-----------

[](#requirement)

- php 5.6 &gt;=
- Laravel 5.2 &gt;=
- HHVM

Install with composer
---------------------

[](#install-with-composer)

You can install this package throw the [Composer](http://getcomposer.org) by running:

```
composer require josh/fraud

```

Register middleware in Kernel
-----------------------------

[](#register-middleware-in-kernel)

```
// app/Http/Kernel.php

protected $routeMiddleware = [
  'fraud' => \Josh\Fraud\FraudMiddleware::class,
];
```

Usage
-----

[](#usage)

#### Checking fraud in routing

[](#checking-fraud-in-routing)

```
Route::get('/',function(){

  return "It's Work";

})->middleware('fraud');
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9644368?v=4)[BetterCallJosh](/maintainers/mrjosh)[@mrjosh](https://github.com/mrjosh)

---

Top Contributors

[![mrjosh](https://avatars.githubusercontent.com/u/9644368?v=4)](https://github.com/mrjosh "mrjosh (17 commits)")

### Embed Badge

![Health badge](/badges/josh-fraud/health.svg)

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

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.0M137](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24772.0k35](/packages/paragonie-ecc)

PHPackages © 2026

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