jzavorohina/censure
最新稳定版本:1.6.0
Composer 安装命令:
composer require jzavorohina/censure
包简介
Dirty russian/english words filter
关键字:
#
filter
#
replacer
#
profane words
#
censure
#
profanity words
#
vulgar words
#
obscene words
#
profane words in texts
#
vulgar words in texts
#
obscene words in texts
#
censure filter
#
curse words filter
#
dirty words filter
#
obscene language filter
#
indecent language filter
#
dirty russian words filter
#
dirty english words filter
#
bad russian words filter
#
bad english words filter
#
russian swear words filter
#
english swear words filter
#
swearwords filter
#
words replacer
#
word replacer
#
word replacement
README 文档
README
Dirty words - filter. 18+ A PHP class to filter out dirty, vulgar, obscene, profane words in russian or english texts.
Key features:
- Find profanity (in Russian and English texts) and hide it with *** symbols.
- Find profanity (in Russian texts) and replace it with normative vocabulary.
Some examples:
// Searches if there any abusive words in the text Censure::is_bad('Original phrase with abusive words'); // return: bool // Replace abusive words from string Censure::replace('Original phrase with abusive words'); // return: string (cleaned text) // Clean indexes in $_POST from abusive words Censure::cleanPost('Unlimited number of arguments to match indexes in $_POST to clean'); // return: void // Fixing abusive words inside string Censure::fix('Original phrase with abusive words'); // return: string (fixed text)
统计信息
- 总下载量: 607
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2019-08-01