PHPackages                             liugj/double-array-trie - 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. liugj/double-array-trie

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

liugj/double-array-trie
=======================

v1.0.2(8y ago)0162PHPPHP &gt;=7.0

Since Jul 13Pushed 8y ago1 watchersCompare

[ Source](https://github.com/liugj/double-array-trie)[ Packagist](https://packagist.org/packages/liugj/double-array-trie)[ RSS](/packages/liugj-double-array-trie/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Double-Array-Trie
=================

[](#double-array-trie)

Add `Double Array Trie` in `Lumen` to filter sensitive words

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require liugj/double-array-trie
```

You must add the Trie service provider and the package service provider in your `bootstrap/app.php` line 80 config:

```
$app->register(Liugj\DoubleArray\TrieServiceProvider::class);
```

You must add double-array-trie.php in your `config` directory

```
return [
   'dest' => resoure_path(). '/pingbi.dat',  //Double Array path
   'src'  =>  resoure_path(). '/pingbi.txt'  //Sensitive words one word per line
];
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity60

Established project with proven stability

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 ~2 days

Total

3

Last Release

3271d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3816086?v=4)[liugj](/maintainers/liugj)[@liugj](https://github.com/liugj)

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/liugj-double-array-trie/health.svg)

```
[![Health](https://phpackages.com/badges/liugj-double-array-trie/health.svg)](https://phpackages.com/packages/liugj-double-array-trie)
```

###  Alternatives

[matomo/network

211.1M18](/packages/matomo-network)[vaimo/composer-changelogs

Provide information about package changes based on changelog files that are bundled with releases; provide tools for generating documentation files from changelog sources

11156.9k10](/packages/vaimo-composer-changelogs)

PHPackages © 2026

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