Looking to hire Laravel developers? Try LaraJobs

laravel-replay-attack maintained by ramzeng

Description
laravel middleware to prevent replay attacks.
Author
Last update
2023/10/17 07:58 (dev-main)
License
Links
Downloads
4

Comments
comments powered by Disqus

Installing

$ composer require ramzeng/laravel-replay-attack -vvv

Usage

Publish config

$ php artisan vendor:publish --provider="Ramzeng\LaravelReplayAttack\ServiceProvider"

Add middleware

// app/Http/Kernel.php

class Kernel extends HttpKernel
{
    protected $middleware = [
        \Ramzeng\LaravelReplayAttack\Middlewares\ReplayAttack::class,
    ];
    
    ...
    ...
}

Contributing

You can contribute in one of three ways:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  3. Contribute new features or update the wiki.

The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.

License

MIT