PHPackages                             grifart/comparable-polyfill - 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. grifart/comparable-polyfill

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

grifart/comparable-polyfill
===========================

Provides interface of Comparable RFC.

v1.0.1(7y ago)020.9k↓46.3%2MITPHPPHP &gt;= 7.0.0

Since Nov 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/grifart/comparable-polyfill)[ Packagist](https://packagist.org/packages/grifart/comparable-polyfill)[ RSS](/packages/grifart-comparable-polyfill/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (2)

Comparable interface polyfill
=============================

[](#comparable-interface-polyfill)

Provides interface of [comparable RFC](https://wiki.php.net/rfc/comparable).

This makes logical comparison of objects much easier by providing common interface for object comparision.

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

[](#installation)

```
composer require grifart/comparable-polyfill
```

TODO
----

[](#todo)

- UncomparableException?

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~370 days

Total

2

Last Release

2775d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/133822?v=4)[Jan Kuchař](/maintainers/jkuchar)[@jkuchar](https://github.com/jkuchar)

---

Top Contributors

[![jkuchar](https://avatars.githubusercontent.com/u/133822?v=4)](https://github.com/jkuchar "jkuchar (2 commits)")[![jiripudil](https://avatars.githubusercontent.com/u/1042159?v=4)](https://github.com/jiripudil "jiripudil (1 commits)")

### Embed Badge

![Health badge](/badges/grifart-comparable-polyfill/health.svg)

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

###  Alternatives

[ajbdev/cronlingo

Express crontabs as human readable phrases

14653.7k](/packages/ajbdev-cronlingo)[justinrainbow/epub

51184.6k](/packages/justinrainbow-epub)[ibericode/vat-bundle

Bundle for using ibericode/vat in a Symfony environment

21275.7k](/packages/ibericode-vat-bundle)[slicksky/spam-blacklist-query

Find out if a domain or IP is blacklisted on the most popular spam listing services.

1132.5k](/packages/slicksky-spam-blacklist-query)

PHPackages © 2026

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