Skip to content

kovalovme/php-ru-censorship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Определение наличия мата (нецензурных слов) в тексте

Getting Started

Requirements

  1. PHP >= 5.3.0
  2. Composer

Installation

composer require wmmax/php-ru-censorship

Usage

require __DIR__ . '/vendor/autoload.php';

use TextCensor\Censor;

$censure = Censor::parse('Да пошел ты нахуй и в пи zdu hues os, ушлепок ебан_ый, ебать мой вялый хуй', '0');

// Да пошел ты ***и ***u ***s os, ушлепок ***ан_ый, ***ать мой вялый ***

About

Russian lang censorship package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages