PHPackages                             agilo/wp-package-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. agilo/wp-package-installer

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

agilo/wp-package-installer
==========================

0.6.0(2y ago)0954—0%MITPHPPHP ^7.2 || ^8.0

Since Sep 4Pushed 2y ago5 watchersCompare

[ Source](https://github.com/Agilo/wp-package-installer)[ Packagist](https://packagist.org/packages/agilo/wp-package-installer)[ RSS](/packages/agilo-wp-package-installer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (14)Used By (0)

README
======

[](#readme)

(WIP) Enables installing WP plugins via Composer 2 (or Composer 1) inside [`johnpbloch/wordpress`](https://github.com/johnpbloch/wordpress). Replaces `drupal-composer/preserve-paths`.

- PHP 7.2 - 8.3 is supported
- Composer 1 &amp; 2 is supported

Installation / Usage
--------------------

[](#installation--usage)

1. `mkdir your-project && cd your-project`
2. `composer init`
3. Add the following to your `composer.json` extra section:

```
{
  "extra": {
    "wordpress-install-dir": "public",
    "installer-paths": {
      "vendor-wp/wp-content/plugins/{$name}/": ["type:wordpress-plugin"],
      "vendor-wp/wp-content/themes/{$name}/": ["type:wordpress-theme"],
      "vendor-wp/wp-content/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
      "vendor-wp/wp-content/{$name}/": ["type:wordpress-dropin"]
    },
    "agilo-wp-package-installer": {
      "sources": {
        "third-party": {
          "src": "vendor-wp",
          "dest": "public",
          "mode": "symlink"
        }
      }
    }
  }
}
```

4. `composer require agilo/wp-package-installer`
5. `composer require johnpbloch/wordpress`

Contributing
------------

[](#contributing)

### Formatting code

[](#formatting-code)

1. Run `composer install --working-dir=tools/php-cs-fixer`
2. Run `./tools/php-cs-fixer/vendor/bin/php-cs-fixer fix`

### Running tests

[](#running-tests)

1. Run `composer install --working-dir=tools/phpunit`
2. Run `./tools/phpunit/vendor/bin/phpunit`

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

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

Every ~0 days

Total

11

Last Release

973d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/698a5a2ceafb3307ba7a284b3f59b2d13f763a6ec30327e9542d006eed5db683?d=identicon)[agilo](/maintainers/agilo)

---

Top Contributors

[![ilimic1](https://avatars.githubusercontent.com/u/9499343?v=4)](https://github.com/ilimic1 "ilimic1 (90 commits)")

---

Tags

composer-pluginwordpresswordpress-development

### Embed Badge

![Health badge](/badges/agilo-wp-package-installer/health.svg)

```
[![Health](https://phpackages.com/badges/agilo-wp-package-installer/health.svg)](https://phpackages.com/packages/agilo-wp-package-installer)
```

###  Alternatives

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M14](/packages/vaimo-composer-patches)[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5341.9M441](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184108.8k8](/packages/olvlvl-composer-attribute-collector)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)

PHPackages © 2026

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