PHPackages                             phpwndb/phpwndb - 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. [API Development](/categories/api)
4. /
5. phpwndb/phpwndb

ActiveLibrary[API Development](/categories/api)

phpwndb/phpwndb
===============

PHP API for WordNet (https://wordnet.princeton.edu/)

v0.1(3y ago)13.2k↓20.8%2[2 issues](https://github.com/PhpWndb/PhpWndb/issues)[1 PRs](https://github.com/PhpWndb/PhpWndb/pulls)MITPHPPHP &gt;=8.1

Since Feb 26Pushed 2y agoCompare

[ Source](https://github.com/PhpWndb/PhpWndb)[ Packagist](https://packagist.org/packages/phpwndb/phpwndb)[ RSS](/packages/phpwndb-phpwndb/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

PHP API for WordNet database
============================

[](#php-api-for-wordnet-database)

[WordNet database](https://wordnet.princeton.edu/) provides kind of semantic of words stored in files. This project is PHP API for easy reading of these files. See [examples/wordNet.php](examples/wordNet.php).

Getting Started
---------------

[](#getting-started)

### Prerequisites

[](#prerequisites)

The code needs PHP 8.1 or greater.

### Installing

[](#installing)

```
composer require phpwndb/phpwndb

```

### Basic usage

[](#basic-usage)

```
$wordNet = (new PhpWndb\Dataset\WordNetProvider())->getWordNet();
$synsets = $wordNet->search('word');

foreach ($synsets as $synset) {
    echo $synset->getGloss() . "\n";
}
```

Running the tests
-----------------

[](#running-the-tests)

```
composer install
composer phpstan
composer tests

```

Versioning
----------

[](#versioning)

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/PhpWndb/PhpWndb/tags).

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1212d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/522c1e914070f24fde66cc146ee87e915588242852cbe379e0a9bf21537dc6af?d=identicon)[AdamLutka](/maintainers/AdamLutka)

---

Top Contributors

[![AdamLutka](https://avatars.githubusercontent.com/u/38178278?v=4)](https://github.com/AdamLutka "AdamLutka (10 commits)")

---

Tags

wordnetsynset

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/phpwndb-phpwndb/health.svg)

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

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[aeliot/todo-registrar

Register TODOs from source code in issue tracker

153.0k](/packages/aeliot-todo-registrar)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1715.6k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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