PHPackages                             primetime/wp-plugin-control - 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. primetime/wp-plugin-control

ActiveLibrary

primetime/wp-plugin-control
===========================

Library for WordPress plugin control

v0.1(11y ago)551.6k↓44%11GPL-2.0PHPPHP &gt;=5.4.0

Since May 8Pushed 11y ago3 watchersCompare

[ Source](https://github.com/PrimeTimeCode/wp-plugin-control)[ Packagist](https://packagist.org/packages/primetime/wp-plugin-control)[ RSS](/packages/primetime-wp-plugin-control/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (1)

WP Plugin Control
=================

[](#wp-plugin-control)

A simple library for WordPress plugin activation control.

Basic Usage
-----------

[](#basic-usage)

Intended for use within a [Must Use](http://codex.wordpress.org/Must_Use_Plugins) plugin.

#### Force-enable a plugin

[](#force-enable-a-plugin)

```
new \PrimeTime\WordPress\PluginControl\EnablePlugins('akismet/akismet.php');
```

#### Force-disable a plugin

[](#force-disable-a-plugin)

```
new \PrimeTime\WordPress\PluginControl\DisablePlugins('akismet/akismet.php');
```

The contructors can also accept an array of plugin files:

```
new \PrimeTime\WordPress\PluginControl\EnablePlugins(['akismet/akismet.php', 'hello.php']);
```

Multisite
---------

[](#multisite)

#### Force-network-enable a plugin

[](#force-network-enable-a-plugin)

```
new \PrimeTime\WordPress\PluginControl\NetworkEnablePlugins('akismet/akismet.php');
```

#### Force-network-disable a plugin

[](#force-network-disable-a-plugin)

```
new \PrimeTime\WordPress\PluginControl\NetworkDisablePlugins('akismet/akismet.php');
```

> Note: Network disabling a plugin does not prevent the plugin from being loaded, it may still be enabled at the site-level unless force-disabled.

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

[](#installation)

**Via Composer (recommended)**

```
composer require primetime/wp-plugin-control:~0.1.0

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity48

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

4028d ago

### Community

Maintainers

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

---

Top Contributors

[![aaemnnosttv](https://avatars.githubusercontent.com/u/1621608?v=4)](https://github.com/aaemnnosttv "aaemnnosttv (6 commits)")

### Embed Badge

![Health badge](/badges/primetime-wp-plugin-control/health.svg)

```
[![Health](https://phpackages.com/badges/primetime-wp-plugin-control/health.svg)](https://phpackages.com/packages/primetime-wp-plugin-control)
```

PHPackages © 2026

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