2017 © Pedro Peláez
 

library double-array-trie

image

liugj/double-array-trie

  • Tuesday, July 18, 2017
  • by liugj
  • Repository
  • 1 Watchers
  • 1 Stars
  • 115 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 14 % Grown

The README.md

Double-Array-Trie

Add Double Array Trie in Lumen to filter sensitive words, (*1)

Installation

You can install the package via composer:, (*2)

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:, (*3)

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


You must add double-array-trie.php in your config directory, (*4)

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

The Versions

18/07 2017

dev-master

9999999-dev

  Sources   Download

The Requires

  • php >=7.0

 

The Development Requires

by Avatar liugj

17/07 2017

v1.0.2

1.0.2.0

  Sources   Download

The Requires

  • php >=7.0
  • ext-trie_filter ~0.1

 

The Development Requires

by Avatar liugj

13/07 2017

v1.0.0

1.0.0.0

  Sources   Download

The Requires

  • php >=7.0
  • ext-trie_filter ~0.1

 

The Development Requires

by Avatar liugj

13/07 2017

v1.0.1

1.0.1.0

  Sources   Download

The Requires

  • php >=7.0
  • ext-trie_filter ~0.1

 

The Development Requires

by Avatar liugj