https://github.com/bitfumes/spamfree
It detect spam in any text input
https://github.com/bitfumes/spamfree
Last synced: 12 months ago
JSON representation
It detect spam in any text input
- Host: GitHub
- URL: https://github.com/bitfumes/spamfree
- Owner: bitfumes
- License: mit
- Created: 2018-07-16T13:36:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-11T07:09:19.000Z (over 7 years ago)
- Last Synced: 2025-03-05T13:48:00.562Z (over 1 year ago)
- Language: PHP
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Introduction
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](https://laracasts.com/series/lets-build-a-forum-with-laravel)
[](LICENSE.md)
[]()
[](https://packagist.org/packages/bitfumes/spam-free)
## 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:
```bash
vendor/bin/phpunit
```
## Credits
Based on work originally created by Jeffrey Way:
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) 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](/LICENSE.md) for more information.