josh/fraud

This package is abandoned and no longer maintained. No replacement package was suggested.

Fraud middleware for laravel

dev-develop 2016-11-04 10:28 UTC

This package is auto-updated.

Last update: 2022-03-29 00:36:11 UTC


README

Build Status Total Downloads Scrutinizer Code Quality License

Fraud Middleware

Fraud Middleware for laravel

Introduction

  • A laravel middleware for checking fraud of user

Requirement

  • php 5.6 >=
  • Laravel 5.2 >=
  • HHVM

Install with composer

You can install this package throw the Composer by running:

composer require josh/fraud

Register middleware in Kernel

// app/Http/Kernel.php

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

Usage

Checking fraud in routing

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

  return "It's Work";

})->middleware('fraud');

License

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