Search
 
SCRIPT & CODE EXAMPLE
 

PHP

laravel dirty words check

composer require askedio/laravel5-profanity-filter
Comment

laravel dirty words check

use AskedioLaravel5ProfanityFilterProfanityFilter;

$config = []; // Data from `resources/config/profanity.php`
$badWordsArray = []; // Data from `resources/lang/[lang]/profanity.php`

$profanityFilter =  new ProfanityFilter($config, $badWordsArray);
$string = $profanityFilter->filter('something with a bad word');
Comment

PREVIOUS NEXT
Code Example
Php :: php howto ignore file with BOM 
Php :: get 1 data from get laravel 
Php :: php filter_var name 
Php :: How to create routes in the codeigniter 
Php :: doble quotes in csv export php 
Php :: change wordpress viewport 
Php :: windows list registered applications 
Php :: app url laravel 
Php :: where statement multiple argument in codeigniter 
Php :: You are *required* to use the date.timezone setting or t 
Php :: php md5 password is insecure 
Php :: show sender name laravel 
Php :: laravel @class 
Php :: symfony append to file 
Php :: date in russian php 
Php :: create file in directory php 
Php :: Redirect User To Different Page 
Php :: php check if type is mysqli_result 
Php :: laravel create model for existing table 
Php :: string put inside tag string php 
Php :: use htaccess to redirect in cpanel laravel 
Php :: php insert in array 
Php :: laravel group concat values showing duplicate 
Php :: laravel defalt value null 
Php :: laravel guard 
Php :: laravel update method 
Php :: PHP If If Else Else Statement 
Php :: generate a unique id 
Php :: download file on client from server url php 
Php :: PHP XML Expat Parser 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =