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

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

primetime/wp-plugin-activation-manifest
=======================================

Simple file-based plugin activation control for WordPress

v1.1.1(5y ago)6953.2k↓77.8%61GPL-2.0-or-laterPHPPHP &gt;=5.6

Since Jul 27Pushed 5y ago5 watchersCompare

[ Source](https://github.com/PrimeTimeCode/wp-plugin-activation-manifest)[ Packagist](https://packagist.org/packages/primetime/wp-plugin-activation-manifest)[ RSS](/packages/primetime-wp-plugin-activation-manifest/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (1)

WP Plugin Activation Manifest
=============================

[](#wp-plugin-activation-manifest)

Lock down the activation state of individual plugins based on environment with minimal effort.

Usage
-----

[](#usage)

Create a YAML file that defines the plugin activation state you want to enforce. Name it whatever you wish and put it wherever you want (ideally outside of the webroot). Add this file to your project's repository.

Example manifest file:

```
# top level keys are the environment
some_environment:
  enable:
    - someplugin/someplugin.php
  disable:
    - someotherplugin/someotherplugin.php
  # supports multisite
  network-enable:
    - someplugin/someplugin.php
  network-disable:
    - someplugin/someplugin.php

# 'global' is a special key that you can use to apply to all environments
global:
  enable:
    - woocommerce/woocommerce.php
    - wpmandrill/wpmandrill.php

development:
  disable:
    - wpmandrill/wpmandrill.php

```

Install `composer require primetime/wp-plugin-activation-manifest`

Execute the mandate

```
require('vendor/autoload.php');
// ...
// after WordPress is loaded - eg: within an mu-plugin
// ..
\PrimeTime\WordPress\PluginManifest\Activation::set('path/to/plugin-manifest.yml', getenv('WP_ENV'));
```

In the example above, `WP_ENV` is an environment variable defining the name of the environment (eg: development, staging, production). This environment name should match to a top-level key in the yaml file.

Environment configuration is applied after the `global` configuration and will take precedence over it.

That's it!

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity41

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 76.9% 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

Every ~601 days

Total

4

Last Release

1869d ago

Major Versions

v0.1 → v1.02018-10-10

PHP version history (3 changes)v0.1PHP ^5.6 || ^7.0

v1.1PHP ^5.6 || ^7.0 || ^8.0

v1.1.1PHP &gt;=5.6

### 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 (30 commits)")[![giuspe](https://avatars.githubusercontent.com/u/1685943?v=4)](https://github.com/giuspe "giuspe (6 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (3 commits)")

### Embed Badge

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

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

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103574.3k70](/packages/friendsoftypo3-content-blocks)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

12017.1k](/packages/rcsofttech-audit-trail-bundle)[altis/local-server

Local Server module for Altis

18225.6k4](/packages/altis-local-server)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1617.3k16](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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