PHPackages                             vendor-patch/composer-installers-extender - 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. vendor-patch/composer-installers-extender

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

vendor-patch/composer-installers-extender
=========================================

Extend the composer/installers plugin to accept any arbitrary package type.

v0.0.9(2y ago)0402MITPHPPHP &gt;=7.0

Since Sep 22Pushed 1y agoCompare

[ Source](https://github.com/vendor-patch/composer-installers-extender)[ Packagist](https://packagist.org/packages/vendor-patch/composer-installers-extender)[ Docs](http://www.oomphinc.com/)[ RSS](/packages/vendor-patch-composer-installers-extender/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (11)Used By (2)

Composer Installers Extender
============================

[](#composer-installers-extender)

The `composer-installers-extender` is a plugin for [Composer](https://getcomposer.org) that allows any package to be installed to a directory other than the default `vendor`directory within a project on a package-by-package basis. This plugin extends the [`composer/installers`](https://github.com/composer/installers) plugin to allow any arbitrary package type to be handled by their custom installer.

The [`composer/installers`](https://github.com/composer/installers) plugin has a finite set of supported package types and we recognize the need for any arbitrary package type to be installed to a specific directory other than `vendor`. This plugin allows additional package types to be handled by the [`composer/installers`](https://github.com/composer/installers) plugin, benefiting from their explicit install path mapping and token replacement of package properties.

How to Install
--------------

[](#how-to-install)

Add `oomphinc/composer-installers-extender` as a dependency of your project:

```
$ composer require oomphinc/composer-installers-extender
```

This plugin requires at least PHP 7.1. If you're using a lower version of PHP use the latest stable 1.x release:

```
$ composer require oomphinc/composer-installers-extender:^1.1
```

How to Use
----------

[](#how-to-use)

The [`composer/installers`](https://github.com/composer/installers) plugin is a dependency of this plugin and will be automatically required as well if not already required.

To support additional package types, add an array of these types in the `extra` property in your `composer.json`:

with [`composer/installers`](https://github.com/composer/installers) &lt; v1.0.13:

```
{
    "extra": {
        "installer-types": ["library"]
    }
}
```

with [`composer/installers`](https://github.com/composer/installers) &gt;= v1.0.13:

```
{
    "extra": {
        "installer-types": ["drupal-library"]
    }
}
```

Then refer to that type when adding to `installer-paths`:

with [`composer/installers`](https://github.com/composer/installers) &lt; v1.0.13:

```
{
    "extra": {
        "installer-types": ["library"],
        "installer-paths": {
            "special/package/": ["my/package"],
            "path/to/libraries/{$name}/": ["type:library"]
        }
    }
}
```

with [`composer/installers`](https://github.com/composer/installers) &gt;= v1.0.13:

```
{
    "extra": {
        "installer-types": ["drupal-library"],
        "installer-paths": {
            "special/package/": ["my/package"],
            "path/to/libraries/{$name}/": ["type:drupal-library"]
        }
    }
}
```

By default, packages that do not specify a `type` will be considered the type `library`. Adding support for this type allows any of these packages to be placed in a different install path.

If a type has been added to `installer-types`, the plugin will attempt to find an explicit installer path in the mapping. If there is no match either by name or by type, the default installer path for all packages will be used instead.

**Please see the README for [`composer/installers`](https://github.com/composer/installers) to see the supported syntax for package and type matching as well as the supported replacement tokens in the path (e.g. `{$name}`).**

License
-------

[](#license)

[MIT License](LICENSE)

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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

10

Last Release

959d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/831c50002c08bb751b698844c98cd6b36897678268b47f1f872a30f4e192ac22?d=identicon)[webfan](/maintainers/webfan)

---

Top Contributors

[![wehowski](https://avatars.githubusercontent.com/u/2658030?v=4)](https://github.com/wehowski "wehowski (24 commits)")[![balbuf](https://avatars.githubusercontent.com/u/3887845?v=4)](https://github.com/balbuf "balbuf (13 commits)")[![bendoh](https://avatars.githubusercontent.com/u/1833896?v=4)](https://github.com/bendoh "bendoh (2 commits)")[![ben-hamelin](https://avatars.githubusercontent.com/u/53975352?v=4)](https://github.com/ben-hamelin "ben-hamelin (2 commits)")[![sfsmfc](https://avatars.githubusercontent.com/u/5294925?v=4)](https://github.com/sfsmfc "sfsmfc (1 commits)")[![syzygy333](https://avatars.githubusercontent.com/u/3818710?v=4)](https://github.com/syzygy333 "syzygy333 (1 commits)")[![webflo](https://avatars.githubusercontent.com/u/123946?v=4)](https://github.com/webflo "webflo (1 commits)")[![XedinUnknown](https://avatars.githubusercontent.com/u/1428973?v=4)](https://github.com/XedinUnknown "XedinUnknown (1 commits)")[![cfoellmann](https://avatars.githubusercontent.com/u/1256090?v=4)](https://github.com/cfoellmann "cfoellmann (1 commits)")[![hussainweb](https://avatars.githubusercontent.com/u/1040271?v=4)](https://github.com/hussainweb "hussainweb (1 commits)")[![johnpicozzi](https://avatars.githubusercontent.com/u/6811770?v=4)](https://github.com/johnpicozzi "johnpicozzi (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/vendor-patch-composer-installers-extender/health.svg)

```
[![Health](https://phpackages.com/badges/vendor-patch-composer-installers-extender/health.svg)](https://phpackages.com/packages/vendor-patch-composer-installers-extender)
```

###  Alternatives

[drupal/console-extend-plugin

Drupal Console Extend Plugin

13214.3M5](/packages/drupal-console-extend-plugin)[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[php-composter/php-composter

Git Hooks Management through Composer.

10525.1k11](/packages/php-composter-php-composter)[mediawiki/semantic-glossary

A terminology markup extension with a Semantic MediaWiki back-end

1352.4k](/packages/mediawiki-semantic-glossary)[uma/composer-psysh

No-frills PsySH-Composer plugin

183.2k](/packages/uma-composer-psysh)[winter/wn-seo-plugin

Winter CMS plugin for managing SEO tags

106.3k](/packages/winter-wn-seo-plugin)

PHPackages © 2026

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