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

ActiveLibrary

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

Library for handling minimum system requirements in WordPress Plugins

1.0.0(9y 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 2mo ago

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 68% 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

3604d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/db79d5416d942e5fd9415b136feefd2da7929cc39853b4c30bafff4ceb8ef219?d=identicon)[Mte90](/maintainers/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

[roots/wordpress

WordPress is open source software you can use to create a beautiful website, blog, or app.

19116.9M258](/packages/roots-wordpress)[aristath/kirki

Extending the WordPress customizer

1.3k73.0k4](/packages/aristath-kirki)[wpreadme2markdown/wpreadme2markdown

Convert WordPress Plugin readme.txt to Markdown

9564.6k4](/packages/wpreadme2markdown-wpreadme2markdown)[wearerequired/wp-requirements-check

Simple requirements checking class

1316.1k2](/packages/wearerequired-wp-requirements-check)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1810.1k4](/packages/wpstarter-framework)

PHPackages © 2026

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