PHPackages                             dhii/data-key-value-aware-interface - 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. dhii/data-key-value-aware-interface

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

dhii/data-key-value-aware-interface
===================================

Interfaces that aim to increase interoperability of value objects

v0.1(9y ago)017.6k9MITPHPPHP ^5.3 | ^7.0

Since Jan 21Pushed 8y ago2 watchersCompare

[ Source](https://github.com/Dhii/data-key-value-aware-interface)[ Packagist](https://packagist.org/packages/dhii/data-key-value-aware-interface)[ RSS](/packages/dhii-data-key-value-aware-interface/feed)WikiDiscussions develop Synced today

READMEChangelog (3)Dependencies (4)Versions (6)Used By (9)

Dhii - Key/Value Aware Interface
================================

[](#dhii---keyvalue-aware-interface)

[![Build Status](https://camo.githubusercontent.com/cded5842ece78c8b0539de892a2a0d1091aaed06bf242c78564cc1e27874ee78/68747470733a2f2f7472617669732d63692e6f72672f446869692f646174612d6b65792d76616c75652d61776172652d696e746572666163652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Dhii/data-key-value-aware-interface)[![Code Climate](https://camo.githubusercontent.com/05e3bc680b0dfa0d28b9aeefc3deb3bd9f59d7cfba6bb81da21cd189dfbc69c6/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f446869692f646174612d6b65792d76616c75652d61776172652d696e746572666163652f6261646765732f6770612e737667)](https://codeclimate.com/github/Dhii/data-key-value-aware-interface)[![Test Coverage](https://camo.githubusercontent.com/cb2373c715e65ba0da07d89ef27f27f6245b7f7fb6f69ea1443fc0b71c3dc8af/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f446869692f646174612d6b65792d76616c75652d61776172652d696e746572666163652f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/Dhii/data-key-value-aware-interface/coverage)[![Latest Stable Version](https://camo.githubusercontent.com/943ef6868b9069d13453f4e6922702fbe201ec3f46fd70111dd1875f70322a2d/68747470733a2f2f706f7365722e707567782e6f72672f646869692f646174612d6b65792d76616c75652d61776172652d696e746572666163652f76657273696f6e)](https://packagist.org/packages/dhii/data-key-value-aware-interface)[![Latest Unstable Version](https://camo.githubusercontent.com/fc7a4a3023929f42bdc640142a198981037b30580a0843dae923ba36210f397a/68747470733a2f2f706f7365722e707567782e6f72672f646869692f646174612d6b65792d76616c75652d61776172652d696e746572666163652f762f756e737461626c65)](https://packagist.org/packages/dhii/data-key-value-aware-interface)[![This package complies with Dhii standards](https://camo.githubusercontent.com/44bbe8c7678c1784cfc53cabce5d3e32fc22a840453c5ed9c08601522fe7c213/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446869692d436f6d706c69616e742d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/Dhii/dhii)

Increase interoperability of value objects by depending on this package.

Interfaces
----------

[](#interfaces)

- [`KeyAwareInterface`](src/KeyAwareInterface.php) - Exposes a key, which can be a string, [Stringable](https://github.com/Dhii/stringable-interface/blob/develop/src/StringableInterface.php), or `null`.
- [`ValueAwareInterface`](src/ValueAwareInterface.php) - Exposes a value, which can be of any type.
- [`KeyValueAwareInterface`](src/KeyValueAwareInterface.php) - Something that exposes both a key and a value.
- [`NameAwareInterface`](src/NameAwareInterface.php) - Something that is aware of a name, which is a narrow domain identifier.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity52

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 ~193 days

Total

3

Last Release

3064d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1894e91b32c9f80d8f30a42d360af6983a507f1cf2c621b7c9a0a0de14e011c5?d=identicon)[XedinUnknown](/maintainers/XedinUnknown)

---

Top Contributors

[![XedinUnknown](https://avatars.githubusercontent.com/u/1428973?v=4)](https://github.com/XedinUnknown "XedinUnknown (40 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dhii-data-key-value-aware-interface/health.svg)

```
[![Health](https://phpackages.com/badges/dhii-data-key-value-aware-interface/health.svg)](https://phpackages.com/packages/dhii-data-key-value-aware-interface)
```

PHPackages © 2026

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