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

AbandonedArchivedLibrary

underdev/requirements
=====================

WordPress drop-in to check requirements

1.3.3(6y ago)191.7k5PHP

Since Jul 18Pushed 6y ago3 watchersCompare

[ Source](https://github.com/Kubitomakita/Requirements)[ Packagist](https://packagist.org/packages/underdev/requirements)[ RSS](/packages/underdev-requirements/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)DependenciesVersions (9)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/a35d50eddf36de3f2d830db914a78823682717e258957a3d18225f7a3496e25c/68747470733a2f2f706f7365722e707567782e6f72672f756e6465726465762f726571756972656d656e74732f762f737461626c65)](https://packagist.org/packages/underdev/requirements)[![Total Downloads](https://camo.githubusercontent.com/5bc7cba293934b771b055098146bab3895226f02185e0ea5758c679933638c8b/68747470733a2f2f706f7365722e707567782e6f72672f756e6465726465762f726571756972656d656e74732f646f776e6c6f616473)](https://packagist.org/packages/underdev/requirements)[![Latest Unstable Version](https://camo.githubusercontent.com/2c2f8711545ad9f481b85cd4f2c1cf01ffc7646a6e89abb75b868ff38cdadee7/68747470733a2f2f706f7365722e707567782e6f72672f756e6465726465762f726571756972656d656e74732f762f756e737461626c65)](https://packagist.org/packages/underdev/requirements)

WordPress plugin requirements
=============================

[](#wordpress-plugin-requirements)

A WordPress drop-in to check requirements.

Simple include the underDEV\_Requirements.php file in your project or install and load it via Composer:

`composer require underdev/requirements`

Default checks:

- PHP version
- PHP extensions loaded
- WordPress version
- Active plugins and their versions
- Active theme
- Function collisions
- Class collisions

You can add also your own custom checks. See the example below.

It doesn't break the user action, such as activating many plugins at once. It will simply display a notice in the admin area:

[![Requirements in WP Admin](https://camo.githubusercontent.com/4ad71399d68302f34363d6020be934da4e30be5544571be5aa54d305ace5e62e/68747470733a2f2f7777772e77706172742e636f2f696d672f726571756972656d656e74732e706e67)](https://camo.githubusercontent.com/4ad71399d68302f34363d6020be934da4e30be5544571be5aa54d305ace5e62e/68747470733a2f2f7777772e77706172742e636f2f696d672f726571756972656d656e74732e706e67)

Sample usage
------------

[](#sample-usage)

```
