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

ActiveLibrary

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

Simple file-based plugin activation control for WordPress

v1.1.1(4y ago)6952.0k↓45.2%61GPL-2.0-or-laterPHPPHP &gt;=5.6

Since Jul 27Pushed 4y 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 1mo 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

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity42

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

1777d 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

[getkirby/cms

The Kirby core

1.5k535.5k352](/packages/getkirby-cms)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)

PHPackages © 2026

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