PHPackages                             lum/lum-compat - 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. lum/lum-compat

ActiveLibrary

lum/lum-compat
==============

Lum library compatibility level meta-package

v2.6.1(3y ago)014420MITPHP ^8.1

Since Dec 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/supernovus/lum.compat.php)[ Packagist](https://packagist.org/packages/lum/lum-compat)[ RSS](/packages/lum-lum-compat/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (13)Used By (20)

lum.compat.php
==============

[](#lumcompatphp)

Summary
-------

[](#summary)

A meta-package to be used by my other Lum libraries to determine their PHP compatibility level, and if any polyfills are required.

All libraries that update to the next `lum-compat` version *must* bump their major version at the same time. Even if there are no changes to the library at all, changing the target `lum-compat` version is breaking compatibility.

Versions
--------

[](#versions)

Each version is stored in its own branch, and there will be tags made for each branch as updates are made.

- `v2.x`

    - Requires PHP 8.1 as minimum version.
    - Requires the `mbstring` extension.
    - May provide polyfills for *some* PHP 9 features in the future.
- `v1.x`

    - Requires PHP 7.4 as minimum version.
    - Requires the `json` extension (which is core in PHP 8.)
    - Will provide polyfills for *some* PHP 8 features in PHP 7 runtimes.

Usage
-----

[](#usage)

This meta-package isn't really useful outside the other Lum PHP libraries.

The production `composer.json` will use a *caret version range* operator in the `requires` property, e.g. `^2.0` to specify the `v2.x` branch.

Internal `composer-dev*` files will use a *dev branch* specifier instead, so for example, `2.x-dev` would point to the `v2.x` branch.

Official URLs
-------------

[](#official-urls)

This package can be found in two places:

- [Github](https://github.com/supernovus/lum.compat.php)
- [Packageist](https://packagist.org/packages/lum/lum-compat)

Author
------

[](#author)

Timothy Totten

License
-------

[](#license)

[MIT](https://spdx.org/licenses/MIT.html)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Recently: every ~35 days

Total

13

Last Release

1393d ago

Major Versions

v1.0.0 → v2.0.02021-12-11

v1.x-dev → v2.1.02021-12-13

PHP version history (2 changes)v1.0.0PHP ^7.4 || ^8.0

v2.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ff04349507190155013e4a94a8b14860a7ac57afce4ba97961c7c79bd023dd7?d=identicon)[supernovus](/maintainers/supernovus)

### Embed Badge

![Health badge](/badges/lum-lum-compat/health.svg)

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

PHPackages © 2026

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