PHPackages                             webdeveric/wordpress-muplugin-installer - 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. webdeveric/wordpress-muplugin-installer

ActiveComposer-plugin

webdeveric/wordpress-muplugin-installer
=======================================

Install WordPress must-use plugins with Composer

3.0.1(2y ago)0381MITPHPPHP &gt;=8

Since Feb 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/webdeveric/wordpress-muplugin-installer)[ Packagist](https://packagist.org/packages/webdeveric/wordpress-muplugin-installer)[ RSS](/packages/webdeveric-wordpress-muplugin-installer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (7)Used By (1)

WordPress must-use plugin installer
===================================

[](#wordpress-must-use-plugin-installer)

```
composer require webdeveric/wordpress-muplugin-installer
```

---

The [Multi-Framework Composer Library Installer](https://github.com/composer/installers) does not completely install WordPress **must-use plugins**. It does put the plugin in the `mu-plugins` folder, but that isn't enough to be recognized as a must-use plugin by WordPress.

This plugin addresses that by copying the plugin entry point file into the `mu-plugins` folder. Your plugin can indicate which file is the main entry point by specifying it in the `extra` section of your `composer.json` file.

```
{
  "name": "scope/mu-plugin",
  "description": "Just another must-use plugin",
  "type": "wordpress-muplugin",
  "extra": {
    "wordpress-muplugin-entry": "your-plugin-entry-point-file.php"
  },
  "require": {
    "webdeveric/wordpress-muplugin-installer": "^2.0"
  }
}
```

If you do not specify `wordpress-muplugin-entry`, this plugin will figure out which PHP files are WordPress plugins by looking for `Plugin Name:` in the first 8 kilobytes of each PHP file in the root of your plugin folder.

Git hooks
---------

[](#git-hooks)

Run this to install a git hook that will run PHPCS, PHPMD, and PHPUnit before you commit.

```
composer setup-hooks

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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

Every ~586 days

Recently: every ~733 days

Total

6

Last Release

799d ago

Major Versions

0.1.0 → 1.0.02016-02-19

1.0.0 → 2.0.02016-07-26

2.0.1 → 3.0.02024-02-28

PHP version history (2 changes)2.0.0PHP ^5.5 || ^7.0

3.0.0PHP &gt;=8

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ba5f4c90f52efbe5d6bed67d4572c4ef4f8987cbf5cfc1f4959b433600c2c67?d=identicon)[webdeveric](/maintainers/webdeveric)

---

Top Contributors

[![webdeveric](https://avatars.githubusercontent.com/u/1823514?v=4)](https://github.com/webdeveric "webdeveric (44 commits)")

---

Tags

composer-installercomposer-pluginplugincomposerwordpressinstallermust-useLonelyPlanetmustusewebdeveric

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/webdeveric-wordpress-muplugin-installer/health.svg)

```
[![Health](https://phpackages.com/badges/webdeveric-wordpress-muplugin-installer/health.svg)](https://phpackages.com/packages/webdeveric-wordpress-muplugin-installer)
```

###  Alternatives

[ffraenz/private-composer-installer

A composer install helper for private packages

2331.7M5](/packages/ffraenz-private-composer-installer)[philippbaschke/acf-pro-installer

An install helper for Advanced Custom Fields PRO

283724.6k](/packages/philippbaschke-acf-pro-installer)[automattic/jetpack-autoloader

Creates a custom autoloader for a plugin or theme.

525.5M67](/packages/automattic-jetpack-autoloader)[infinum/eightshift-libs

WordPress libs developed by Eightshift team to use in modern WordPress.

63118.9k3](/packages/infinum-eightshift-libs)

PHPackages © 2026

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