PHPackages                             jcshoww/php-dictionary - 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. jcshoww/php-dictionary

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

jcshoww/php-dictionary
======================

Base dictionary class for dictionary entities in projects

1.0.1(4y ago)0255MITPHPPHP ^7.0 || ^8.0

Since Sep 21Pushed 4y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (3)Used By (0)

PHP Dictionary
==============

[](#php-dictionary)

This is base PHP Dictionary library. Dictionaries are used for static data lists storing.

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

[](#installation)

You can install the package via composer:

```
composer require jcshoww/php-dictionary
```

Usage
-----

[](#usage)

Create your own dictionary and extend it from base dictionary class. Look example below:

```
use Jcshoww\PHPDictionary\Dictionary;

class BindingSideDictionary extends Dictionary
{
    public const FRONT = 1;

    public const BACK = 2;

    public const LEFT = 3;

    public const RIGHT = 4;

    /**
     * {@inheritDoc}
     */
    public static function getValues(): array
    {
        return [
            static::FRONT => 'Front',
            static::BACK => 'Back',
            static::LEFT => 'Left',
            static::RIGHT => 'Right',
        ];
    }
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~218 days

Total

2

Last Release

1482d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3401f057a4929c611ecfcea902d01b0e20870f865896c0b7e93db6812aec7c29?d=identicon)[jcshoww](/maintainers/jcshoww)

---

Top Contributors

[![mtrhost](https://avatars.githubusercontent.com/u/53713762?v=4)](https://github.com/mtrhost "mtrhost (4 commits)")[![jcshoww](https://avatars.githubusercontent.com/u/34167059?v=4)](https://github.com/jcshoww "jcshoww (1 commits)")

### Embed Badge

![Health badge](/badges/jcshoww-php-dictionary/health.svg)

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

###  Alternatives

[bigbridge/product-import

Fast product import library for Magento 2

124117.0k](/packages/bigbridge-product-import)[aleksip/plugin-data-transform

Data Transform Plugin for Pattern Lab PHP

34897.4k3](/packages/aleksip-plugin-data-transform)[nfephp-org/sped-esocial

e-Social library

18030.7k](/packages/nfephp-org-sped-esocial)[yoast/yoast-seo-for-neos

Yoast SEO for Neos CMS

24164.8k](/packages/yoast-yoast-seo-for-neos)[red-explosion/laravel-sqids

Easily generate Stripe/YouTube looking IDs for your Laravel models.

4530.8k](/packages/red-explosion-laravel-sqids)

PHPackages © 2026

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