PHPackages                             r34117y/phpgaddag - 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. r34117y/phpgaddag

ActiveLibrary

r34117y/phpgaddag
=================

A PHP library for creating and querying trie and GADDAG word structures.

00PHP

Since Jul 16Pushed 1mo agoCompare

[ Source](https://github.com/r34117y/php-gaddag)[ Packagist](https://packagist.org/packages/r34117y/phpgaddag)[ RSS](/packages/r34117y-phpgaddag/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Word Structures Library
===========================

[](#php-word-structures-library)

A small PHP library for creating and querying word data structures from word lists.

- `Trie` stores strings by shared prefixes, which makes exact lookups and prefix-based lookups straightforward.
- `Gaddag` stores reversed-prefix word forms for Scrabble-style move generation and anchor-letter searches.

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

[](#installation)

```
composer require r34117y/trie
```

Usage
-----

[](#usage)

```
