PHPackages                             dhii/package-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/package-interface

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

dhii/package-interface
======================

Interfaces for package-related interop

0.1.x-dev(4y ago)0126.3k↑27.8%2MITPHPPHP ^7.1 | ^8.0CI failing

Since May 13Pushed 4y ago2 watchersCompare

[ Source](https://github.com/Dhii/package-interface)[ Packagist](https://packagist.org/packages/dhii/package-interface)[ RSS](/packages/dhii-package-interface/feed)WikiDiscussions 0.1.x Synced 1mo ago

READMEChangelog (4)Dependencies (5)Versions (6)Used By (2)

Package Interfaces
==================

[](#package-interfaces)

Interfaces for package-related interop.

Details
-------

[](#details)

Often, it is necessary to represent a generic package, or some specific kind of package, like a WordPress plugin or a Drupal extension. In this case, it would be useful to have an interop interface to represent the package, or a common ancestor of packages. This package aims to address that need.

The idea is that packages are located somewhere, have a name, and a version. A version is a SemVer-compliant comparable identifier. Versions also need to be compared, so as to determine whether a version satisfies a specific version constraint

Development
-----------

[](#development)

This project ships with Docker and PHPStorm configurations. Just copy `.env.example` to `.env`, tweak if necessary, then use `docker-compose` to run various tools, or use PHPStorm integrations.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

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

Total

5

Last Release

1622d ago

PHP version history (2 changes)v0.1.0-alpha1PHP ^7.1

v0.1.0-alpha3PHP ^7.1 | ^8.0

### 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 (56 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dhii-package-interface/health.svg)

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

###  Alternatives

[ankane/onnxruntime

Run ONNX models in PHP

14031.3k5](/packages/ankane-onnxruntime)

PHPackages © 2026

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