bitfumes / spamfree
Your Package Description here
Requires (Dev)
- fzaninotto/faker: ^1.9@dev
- illuminate/support: ^5.8@dev
- mockery/mockery: ^1.0@dev
- orchestra/database: ^3.8@dev
- orchestra/testbench: ^3.8@dev
- phpunit/phpunit: ^7.4@dev
This package is auto-updated.
Last update: 2024-11-11 20:31:34 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
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.