elmhurstprojects/string-checker

There is no license information available for the latest version (0.0.1) of this package.

0.0.1 2020-01-14 20:50 UTC

This package is not auto-updated.

Last update: 2024-04-18 16:48:29 UTC


README

Checks a string for unwanted items in a post, comment etc. Checks for profanity, keywords, urls, email addresses and HTML tags.

Installation

composer require elmhurstprojects/string-checker

Then, if auto-discovery not available, add the service provider to app.php

\ElmhurstProjects\StringChecker\Providers\StringCheckerServiceProvider::class,

You can then publish the config files where you can change the words you wish to ban and flag.

php artisan vendor:publish