PHPackages                             danek/clean-speak - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Search &amp; Filtering](/categories/search)
4. /
5. danek/clean-speak

ActiveLibrary[Search &amp; Filtering](/categories/search)

danek/clean-speak
=================

PHP profanity filter with leet speak and diacritics detection, customizable dictionaries, and flexible word replacement.

v1.0.0(10mo ago)03MITPHPPHP &gt;=7.1

Since Jul 19Pushed 10mo agoCompare

[ Source](https://github.com/jDanek/clean-speak)[ Packagist](https://packagist.org/packages/danek/clean-speak)[ RSS](/packages/danek-clean-speak/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

CleanSpeak
==========

[](#cleanspeak)

A PHP library for profanity filtering and text censoring with support for leet speak obfuscation and diacritics.

Contents

- [Requirements](#requirements)
- [Installation](#installation)
- [Usage](#usage)
- [Configuration](#configuration)
    - [Word dictionary](#word-dictionary)
    - [Blocking Strategies](#blocking-strategies)
    - [Detection Modes](#detection-modes)
    - [Custom Leet Map](#custom-leet-map)
    - [Diacritics Handling](#diacritics-handling)

[Requirements](#id1)
--------------------

[](#requirements)

- PHP 7.1+

[Installation](#id2)
--------------------

[](#installation)

```
composer require danek/clean-speak
```

[Usage](#id3)
-------------

[](#usage)

```
