PHPackages                             quansitech/qs-sensitive - 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. quansitech/qs-sensitive

ActiveLibrary

quansitech/qs-sensitive
=======================

sensitive words

v1.0.3(5y ago)01.0k↓100%1MITPHPPHP &gt;=7.0

Since Apr 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/quansitech/qs-sensitive)[ Packagist](https://packagist.org/packages/quansitech/qs-sensitive)[ RSS](/packages/quansitech-qs-sensitive/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

敏感词过滤
=====

[](#敏感词过滤)

安装
--

[](#安装)

```
composer require quansitech/qs-sensitive
```

用法
--

[](#用法)

```
$sensitive = new Senstive();
$txt = "你是不是傻&吊。。。";
$words = $sensitive->filter($txt);

echo $words; // 你是不是***。。。
```

自定义干扰因子和敏感词库

```
$disturbList = ['!', '(', ')'];
$words = './words.txt';
$sensitive = new Senstive($disturbList, $words);
$txt = "你是不是傻(!)吊。。。";
$words = $sensitive->filter($txt);

echo $words; //你是不是*****。。。
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~66 days

Total

4

Last Release

2024d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/15a0610fee78753bdad92fd45c3506455c0fd45ae51924797b1841d260495a3f?d=identicon)[tiderjian](/maintainers/tiderjian)

---

Top Contributors

[![tiderjian](https://avatars.githubusercontent.com/u/1665649?v=4)](https://github.com/tiderjian "tiderjian (2 commits)")[![qq958691165](https://avatars.githubusercontent.com/u/13673962?v=4)](https://github.com/qq958691165 "qq958691165 (1 commits)")

---

Tags

sensitivedfa

### Embed Badge

![Health badge](/badges/quansitech-qs-sensitive/health.svg)

```
[![Health](https://phpackages.com/badges/quansitech-qs-sensitive/health.svg)](https://phpackages.com/packages/quansitech-qs-sensitive)
```

###  Alternatives

[mtownsend/array-redactor

A PHP package to redact array values by their keys.

146112.3k1](/packages/mtownsend-array-redactor)[firehed/security

Security tools for PHP

2374.9k2](/packages/firehed-security)[kendall-hopkins/formal-theory

FormalTheory is a library that allows for manipulation and conversion of NFAs, DFAs and Regular Expressions.

335.4k](/packages/kendall-hopkins-formal-theory)

PHPackages © 2026

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