PHPackages                             skoro/stardict - 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. skoro/stardict

ActiveLibrary

skoro/stardict
==============

Provides interface to StarDict dictionaries.

0.2.1(2y ago)10109↓100%2[3 issues](https://github.com/skoro/stardict/issues)[1 PRs](https://github.com/skoro/stardict/pulls)MITPHPPHP &gt;=7.4CI passing

Since Feb 25Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/skoro/stardict)[ Packagist](https://packagist.org/packages/skoro/stardict)[ RSS](/packages/skoro-stardict/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (7)Used By (0)

StarDict
========

[](#stardict)

Provides PHP interface to StarDict dictionaries.

Install via composer:

```
composer require skoro/stardict

```

Usage
-----

[](#usage)

```
use StarDict\StarDict;

require dirname(__FILE__) . '/vendor/autoload.php';

$dict = StarDict::createFromFiles('dict.ifo', 'dict.idx', 'dict.dict.dz');

echo $dict->getDict()->getBookname(); // show dict name.

foreach ($dict->get('word') as $result) {
    echo $result->getValue();
}
```

Caveats
-------

[](#caveats)

- Only 2.4.2 StarDict version is supported.
- Option `sametypesequence` is required and cannot be empty.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance48

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

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

Every ~670 days

Total

5

Last Release

1046d ago

PHP version history (2 changes)0.1PHP &gt;=5.4

0.1.1PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/c0d06add7732fb2b4681e95a92527bb7e0dd913fe790fd0c5dc774cf52d3f2b7?d=identicon)[skoro](/maintainers/skoro)

---

Top Contributors

[![skoro](https://avatars.githubusercontent.com/u/6389201?v=4)](https://github.com/skoro "skoro (102 commits)")

---

Tags

php-interfacestardictdictionarystardict

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[knplabs/dictionary-bundle

Are you often tired to repeat static choices like gender or civility in your apps ?

88284.0k](/packages/knplabs-dictionary-bundle)[skyzyx/mimetypes

Creates a JSON document containing a thorough list of file extensions =&gt; mime types as provided by the Apache httpd project.

17202.4k5](/packages/skyzyx-mimetypes)[sinergi/dictionary

PHP Dictionary library

1514.1k2](/packages/sinergi-dictionary)[webinarium/php-dictionary

Static dictionary implementation for PHP

1019.1k](/packages/webinarium-php-dictionary)

PHPackages © 2026

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