Download the PHP package breadthe/laravel-silent-spam-filter without Composer
On this page you can find all versions of the php package breadthe/laravel-silent-spam-filter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download breadthe/laravel-silent-spam-filter
More information about breadthe/laravel-silent-spam-filter
Files in breadthe/laravel-silent-spam-filter
Package laravel-silent-spam-filter
Short Description Silently filter spam messages based on a custom keyword/keyphrase blacklist.
License MIT
Homepage https://github.com/breadthe/laravel-silent-spam-filter
Informations about the package laravel-silent-spam-filter
Laravel Silent Spam Filter
A simple way to filter a message for spam in a Laravel project, based on your own custom keyword and phrase blacklist. It is useful in silently ignoring messages submitted via contact forms, without alerting the spammer that the message went through.
By default it comes with virtually zero configuration, which means you'll have to add your own keywords and phrases to the blacklist.
Installation
You can install the package via composer:
Optionally publish the configuration file config/silentspam.php
:
Configuration
If you published the configuration file config/silentspam.php
you can add additional entries to the blacklist
key, or overwrite the sample entries.
At runtime you can use SilentSpam::blacklist([])
to add additional keywords, that will get merged with the list in the configuration. This can be useful if you want to keep a global blacklist in the config, but also add custom lists depending on the context when checking for spam.
Usage
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Omigosh Dev
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.