PHPackages                             ggob/dfa - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ggob/dfa

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ggob/dfa
========

This is a DFA algorithm based on PHP

1.0.0(6y ago)013MITPHP

Since Oct 24Pushed 6y ago1 watchersCompare

[ Source](https://github.com/duanfuxing/dfa)[ Packagist](https://packagist.org/packages/ggob/dfa)[ RSS](/packages/ggob-dfa/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

敏感词过滤
=====

[](#敏感词过滤)

自定义敏感词过滤,提供两种方式【文件,数组】,适用于论坛、弹幕、角色名称等等.

安装
--

[](#安装)

```
$ composer require ggob/dfa 1.0.0
```

\######Laravel config目录app.php文件providers数组放入

```
\ggob\dfa\DfaServiceProvider::class

```

使用
--

[](#使用)

```
