PHPackages                             jzavorohina/censure - 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. jzavorohina/censure

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

jzavorohina/censure
===================

Dirty russian/english words filter

1.6.0(1y ago)2617↓100%Apache-2.0PHPPHP &gt;=5.0.0

Since Aug 1Pushed 1y agoCompare

[ Source](https://github.com/jzavorohina/Censure)[ Packagist](https://packagist.org/packages/jzavorohina/censure)[ Docs](https://github.com/jzavorohina/censure)[ RSS](/packages/jzavorohina-censure/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

CENSURE class
=============

[](#censure-class)

Dirty words - filter. 18+ A PHP class to filter out dirty, vulgar, obscene, profane words in russian or english texts.

### Key features:

[](#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:

[](#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)
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~325 days

Recently: every ~194 days

Total

7

Last Release

523d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/10321b93fbccf2d881ac58095d764e31a27f6a82e9ed6447ab39383dfaa249d7?d=identicon)[jzavorohina](/maintainers/jzavorohina)

---

Top Contributors

[![jzavorohina](https://avatars.githubusercontent.com/u/25753793?v=4)](https://github.com/jzavorohina "jzavorohina (21 commits)")

---

Tags

filterreplacervulgar wordsprofane wordscensureprofanity wordsobscene wordsprofane words in textsvulgar words in textsobscene words in textscensure filtercurse words filterdirty words filterobscene language filterindecent language filterdirty russian words filterdirty english words filterbad russian words filterbad english words filterrussian swear words filterenglish swear words filterswearwords filterwords replacerword replacerword replacement

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jzavorohina-censure/health.svg)

```
[![Health](https://phpackages.com/badges/jzavorohina-censure/health.svg)](https://phpackages.com/packages/jzavorohina-censure)
```

###  Alternatives

[clue/stream-filter

A simple and modern approach to stream filtering in PHP

1.7k261.7M7](/packages/clue-stream-filter)[laminas/laminas-filter

Programmatically filter and normalize data and files

9428.0M150](/packages/laminas-laminas-filter)[friendsofcake/search

CakePHP Search plugin using PRG pattern

1742.0M37](/packages/friendsofcake-search)[htmlawed/htmlawed

Official htmLawed PHP library for HTML filtering

401.1M9](/packages/htmlawed-htmlawed)[outl1ne/nova-multiselect-filter

Multiselect filter for Laravel Nova.

45802.7k3](/packages/outl1ne-nova-multiselect-filter)[outl1ne/nova-detached-filters

This Laravel Nova package allows you to detach filters from the filter dropdown

64343.5k](/packages/outl1ne-nova-detached-filters)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
