PHPackages                             wp-forge/wp-plugin-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. wp-forge/wp-plugin-check

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

wp-forge/wp-plugin-check
========================

Check if a WordPress plugin is compatible with the current environment.

1.0(6y ago)49771GPL-2.0-or-laterPHP

Since Apr 20Pushed 6y ago1 watchersCompare

[ Source](https://github.com/wp-forge/wp-plugin-check)[ Packagist](https://packagist.org/packages/wp-forge/wp-plugin-check)[ RSS](/packages/wp-forge-wp-plugin-check/feed)WikiDiscussions master Synced 3w ago

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

WordPress Plugin Check
======================

[](#wordpress-plugin-check)

Check if a WordPress plugin is compatible with the current environment. If not, it will automatically deactivate the plugin and show a message to the user letting them know what they can do about it.

**Note:** Only supports checking PHP 5.2+.

Installation
------------

[](#installation)

```
composer require wp-forge/wp-plugin-check
```

Usage
-----

[](#usage)

This is how the code should be used:

```
