PHPackages                             pattonwebz/theme-php-version-support-check - 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. pattonwebz/theme-php-version-support-check

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

pattonwebz/theme-php-version-support-check
==========================================

A class used to do PHP version checking on theme activation and revert if min PHP version not met.

1.0.0(7y ago)03GPL-2.0-or-laterPHPPHP 5.6

Since Mar 31Pushed 7y ago1 watchersCompare

[ Source](https://github.com/pattonwebz/theme-php-version-support-check)[ Packagist](https://packagist.org/packages/pattonwebz/theme-php-version-support-check)[ RSS](/packages/pattonwebz-theme-php-version-support-check/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

PattonWebz Theme PHP Version Support Check
==========================================

[](#pattonwebz-theme-php-version-support-check)

A simple class to perform an activation php version support check for a WordPress theme.

You just need to instantiate the class in your theme. I suggest doing this as early as possible - ideally as part of your bootstrapping inside of `functions.php`.

Licence Information
===================

[](#licence-information)

This package is licensed under GNU GPLv2 or later licence.

Copyright 2019 © William Patton.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Unknown

Total

1

Last Release

2604d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d401f6723c24ce90038075be6a7990d02d2d7480fa3735f3697832fe393557d5?d=identicon)[pattonwebz](/maintainers/pattonwebz)

---

Top Contributors

[![pattonwebz](https://avatars.githubusercontent.com/u/3902039?v=4)](https://github.com/pattonwebz "pattonwebz (1 commits)")

### Embed Badge

![Health badge](/badges/pattonwebz-theme-php-version-support-check/health.svg)

```
[![Health](https://phpackages.com/badges/pattonwebz-theme-php-version-support-check/health.svg)](https://phpackages.com/packages/pattonwebz-theme-php-version-support-check)
```

###  Alternatives

[lunetics/timezone-bundle

A Bundle for detecting the timezone

2641.9k](/packages/lunetics-timezone-bundle)[amirbagh75/smsir-php

Unofficial sms.ir PHP Package

181.2k](/packages/amirbagh75-smsir-php)

PHPackages © 2026

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