PHPackages                             themeplate/compatibility - 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. themeplate/compatibility

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

themeplate/compatibility
========================

Simple compatibility helper class

v0.4.0(1y ago)07GPL-3.0-onlyPHPPHP ^7.4|^8.2

Since Mar 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ThemePlate/Compatibility)[ Packagist](https://packagist.org/packages/themeplate/compatibility)[ RSS](/packages/themeplate-compatibility/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependencies (2)Versions (7)Used By (0)

ThemePlate Compatibility
========================

[](#themeplate-compatibility)

Usage
-----

[](#usage)

```
use ThemePlate\Compatibility;

( new Compatibility( '6.0', '8.0' ) )->setup( 'My Project' );
```

### Custom messages

[](#custom-messages)

```
use ThemePlate\Compatibility;

$compatibility = new Compatibility( '5.0', '5.6' );

/* translators: %s package name */
$compatibility->message_header( 'Sorry! %s is not compatible.' );
/* translators: 1. required version, 2. installed version */
$compatibility->message_wp( __( 'Requires WP %1$s or higher but currently running at %2$s', 'custom_domain' ) );
/* translators: 1. required version, 2. installed version */
$compatibility->message_php( __( 'Requires PHP %1$s or higher but currently running at %2$s', 'custom_domain' ) );
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance42

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

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

Total

5

Last Release

463d ago

PHP version history (2 changes)v0.1.0PHP ^7.4|^8.0

v0.2.0PHP ^7.4|^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8350223?v=4)[Gene Alyson Fortunado Torcende](/maintainers/kermage)[@kermage](https://github.com/kermage)

---

Top Contributors

[![kermage](https://avatars.githubusercontent.com/u/8350223?v=4)](https://github.com/kermage "kermage (26 commits)")

### Embed Badge

![Health badge](/badges/themeplate-compatibility/health.svg)

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

###  Alternatives

[unisolutions/silverstripe-copybutton

Adds copy button to the GridField.

1736.5k](/packages/unisolutions-silverstripe-copybutton)[fluidtypo3/builder

The builder package from FluidTYPO3

259.6k1](/packages/fluidtypo3-builder)[trafiklab/gtfs-php-sdk

Use GTFS and GTFS-realtime data in your PHP projects

175.6k](/packages/trafiklab-gtfs-php-sdk)

PHPackages © 2026

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