PHPackages                             lplabs/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. lplabs/wordpress-muplugin-installer

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

lplabs/wordpress-muplugin-installer
===================================

Install WordPress must-use plugins with Composer

2.0.1(9y ago)43.2kMITPHPPHP ^5.5 || ^7.0CI failing

Since Feb 19Pushed 9y ago4 watchersCompare

[ Source](https://github.com/LPLabs/wordpress-muplugin-installer)[ Packagist](https://packagist.org/packages/lplabs/wordpress-muplugin-installer)[ RSS](/packages/lplabs-wordpress-muplugin-installer/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (8)Versions (5)Used By (0)

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

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

[![Build Status](https://camo.githubusercontent.com/d2a83b605ffdf2f0239d7abb1ec67cdda78e415081836ab97f015154bde74c37/68747470733a2f2f7472617669732d63692e6f72672f4c504c6162732f776f726470726573732d6d75706c7567696e2d696e7374616c6c65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/LPLabs/wordpress-muplugin-installer)[![Test Coverage](https://camo.githubusercontent.com/39e6492f62b4c63109aefd4f7227357e7ae61fb04aca6b10a4e0a334abf13b9c/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f4c504c6162732f776f726470726573732d6d75706c7567696e2d696e7374616c6c65722f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/LPLabs/wordpress-muplugin-installer/coverage)[![Code Climate](https://camo.githubusercontent.com/b682a279bc8a5a9bbd96c322c92244c1e2f0ce17ba4facda3810db72a5c5319b/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f4c504c6162732f776f726470726573732d6d75706c7567696e2d696e7374616c6c65722f6261646765732f6770612e737667)](https://codeclimate.com/github/LPLabs/wordpress-muplugin-installer)[![Issue Count](https://camo.githubusercontent.com/fea7e5a5396c894f612d303ab0f8abcd0f8345b9130a8d91ad1160b41253155f/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f4c504c6162732f776f726470726573732d6d75706c7567696e2d696e7374616c6c65722f6261646765732f69737375655f636f756e742e737667)](https://codeclimate.com/github/LPLabs/wordpress-muplugin-installer/issues)

```
composer require lplabs/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": "vendorname/muplugin",
  "description": "Just another must-use plugin",
  "type": "wordpress-muplugin",
  "extra": {
    "wordpress-muplugin-entry": "your-plugin-entry-point-file.php"
  },
  "require": {
    "lplabs/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

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

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 ~52 days

Total

4

Last Release

3624d ago

Major Versions

0.1.0 → 1.0.02016-02-19

1.0.0 → 2.0.02016-07-26

### 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 (33 commits)")

---

Tags

composercomposer-pluginwordpresswordpress-mupluginplugincomposerwordpressinstallermust-useLonelyPlanetLPLabsmustuse

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[automattic/jetpack-autoloader

Creates a custom autoloader for a plugin or theme.

545.9M113](/packages/automattic-jetpack-autoloader)[ffraenz/private-composer-installer

A composer install helper for private packages

2321.7M5](/packages/ffraenz-private-composer-installer)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[infinum/eightshift-libs

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

63123.8k3](/packages/infinum-eightshift-libs)[altis/core

Core module for Altis

19222.5k2](/packages/altis-core)

PHPackages © 2026

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