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 today

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 40% 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

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

[symfony/flex

Composer plugin for Symfony

4.2k178.8M783](/packages/symfony-flex)[composer/package-versions-deprecated

Composer plugin that provides efficient querying for installed package versions (no runtime IO)

1.5k188.8M197](/packages/composer-package-versions-deprecated)[cweagans/composer-patches

Provides a way to patch Composer packages.

1.7k92.0M662](/packages/cweagans-composer-patches)[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k36.0M1.8k](/packages/ergebnis-composer-normalize)[wikimedia/composer-merge-plugin

Composer plugin to merge multiple composer.json files

99624.3M214](/packages/wikimedia-composer-merge-plugin)[phpstan/extension-installer

Composer plugin for automatic installation of PHPStan extensions

49594.7M6.9k](/packages/phpstan-extension-installer)

PHPackages © 2026

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