bitfumes/spamfree

Your Package Description here

dev-master 2019-01-11 07:09 UTC

This package is auto-updated.

Last update: 2024-04-11 19:12:52 UTC


README

This is a simple spam detector which currently detect only keyheld down and invalid keyword. This is just a package for the spam system created by Jeffrey Way in its Lets Build Forum Series at Laracast, Let's Build a forum with Laravel

Software License Travis Total Downloads

Install

composer require bitfumes/spamfree

Usage

Once you have the package in your project then you just need to use this in your request validation.Like if you want to protect body then

'body' : ['required',new Spamfree]

Use Bitfumes\Spamfree\Rules\Spamfree at the top where you have your validation.

Testing

Run the tests with:

vendor/bin/phpunit

Credits

Based on work originally created by Jeffrey Way: https://github.com/JeffreyWay

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security-related issues, please email sarthak@bitfumes.com instead of using the issue tracker.

License

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