PHPackages                             wpbp/requirements - 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. wpbp/requirements

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

wpbp/requirements
=================

Library for handling minimum system requirements in WordPress Plugins

1.0.0(10y ago)53062GPL-3.0PHP

Since Jul 2Pushed 9y ago1 watchersCompare

[ Source](https://github.com/WPBP/Requirements)[ Packagist](https://packagist.org/packages/wpbp/requirements)[ Docs](https://github.com/WPBP/Requirements)[ RSS](/packages/wpbp-requirements/feed)WikiDiscussions master Synced today

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

WP Requirements
---------------

[](#wp-requirements)

[![License](https://camo.githubusercontent.com/1b0c7e4911720d0444c16a1ffd145a039f14a1a7305362ab51184f757a4dd6bc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c25323076332d626c75652e737667)](http://www.gnu.org/licenses/gpl-3.0)[![Downloads](https://camo.githubusercontent.com/5b83dbd3eedff23fd8b4a9aa08d57864a90f4187b75f9edeb13f0ad4a9ad51c4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f777062702f726571756972656d656e74732e737667)](https://camo.githubusercontent.com/5b83dbd3eedff23fd8b4a9aa08d57864a90f4187b75f9edeb13f0ad4a9ad51c4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f777062702f726571756972656d656e74732e737667)

A small library to easily handle detection of minimum system requirements in WordPress plugins.

[![Screenshot](https://camo.githubusercontent.com/00f1643d6136a94caee4071ece9bdcd889883278ac84aebfc56327679a3fa54a/687474703a2f2f692e696d6775722e636f6d2f306439643648462e706e67)](https://camo.githubusercontent.com/00f1643d6136a94caee4071ece9bdcd889883278ac84aebfc56327679a3fa54a/687474703a2f2f692e696d6775722e636f6d2f306439643648462e706e67)

Features
========

[](#features)

- Detects PHP versions incompatible with your Plugin.
- Detects WordPress versions incompatible with your Plugin.
- Detects WordPress plugins.
- Detects absence of PHP extensions.
- Displays errors to users without activating your Plugin.

Getting Started
===============

[](#getting-started)

```
new Plugin_Requirements( self::$plugin_name, self::$plugin_slug, array(
  'PHP' => new PHP_Requirement( '5.9.0' ),
  'WP' => new WordPress_Requirement( '3.9.0' ),
  'Extension' => new PHP_Extension_Requirement( array('mysql', 'mysqli', 'session', 'pcre','json', 'gd', 'mbstring', 'zlib' ),
  'Plugin' => new Plugin_Requirement( array(
     array( 'Plugin not installed', 'slug/slug.php' ) ,
     array( 'Plugin not installed 2', 'slug/slug2.php' )
   ) )
) );
```

License
-------

[](#license)

Fork of Mte90, Copyright © 2014 Darshan Sawardekar

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 96.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

Unknown

Total

1

Last Release

3651d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/403283?v=4)[Daniele Scasciafratte](/maintainers/Mte90)[@Mte90](https://github.com/Mte90)

---

Top Contributors

[![dsawardekar](https://avatars.githubusercontent.com/u/3541543?v=4)](https://github.com/dsawardekar "dsawardekar (29 commits)")[![Mte90](https://avatars.githubusercontent.com/u/403283?v=4)](https://github.com/Mte90 "Mte90 (1 commits)")

---

Tags

wordpresswordpress-php-librarywordpressrequirements

### Embed Badge

![Health badge](/badges/wpbp-requirements/health.svg)

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

###  Alternatives

[aristath/kirki

Extending the WordPress customizer

1.3k73.1k4](/packages/aristath-kirki)[afragen/git-updater

A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs.

3.3k1.7k](/packages/afragen-git-updater)[wearerequired/wp-requirements-check

Simple requirements checking class

1317.8k2](/packages/wearerequired-wp-requirements-check)[tacowordpress/tacowordpress

WordPress custom post types that feel like CRUD models

232.2k](/packages/tacowordpress-tacowordpress)

PHPackages © 2026

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