PHPackages                             microweber-deps/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. microweber-deps/composer-installers-extender

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

microweber-deps/composer-installers-extender
============================================

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

1.1.3(7y ago)06MITPHP

Since May 2Pushed 7y ago2 watchersCompare

[ Source](https://github.com/microweber-deps/composer-installers-extender)[ Packagist](https://packagist.org/packages/microweber-deps/composer-installers-extender)[ Docs](http://www.oomphinc.com/)[ RSS](/packages/microweber-deps-composer-installers-extender/feed)WikiDiscussions master Synced 3d ago

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

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 the repo 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 and specified explicitly in the `"installer-paths"` mapping in the `"extra"` data property.

`composer/installers` 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 `composer/installers`, benefiting from their explicit install path mapping and token replacement of package properties.

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

[](#how-to-use)

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

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

`composer/installers` is a dependency of this plugin and will be automatically required as well.

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

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

```

Then, you can add mappings for packages of these types in the same way that you would add package types that are supported by [`composer/installers`](https://github.com/composer/installers#custom-install-paths):

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

```

By default, packages that do not specify a `type` will be considered 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}`).

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

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

Unknown

Total

1

Last Release

2610d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/77880402?v=4)[boksiora](/maintainers/boksiora)[@boksiora](https://github.com/boksiora)

![](https://avatars.githubusercontent.com/u/50577633?v=4)[Bozhidar Slaveykov](/maintainers/bobimicroweber)[@bobimicroweber](https://github.com/bobimicroweber)

---

Top Contributors

[![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)")[![cfoellmann](https://avatars.githubusercontent.com/u/1256090?v=4)](https://github.com/cfoellmann "cfoellmann (1 commits)")[![peter-mw](https://avatars.githubusercontent.com/u/5698247?v=4)](https://github.com/peter-mw "peter-mw (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)")

### Embed Badge

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

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

###  Alternatives

[symfony/runtime

Enables decoupling PHP applications from global state

74794.9M945](/packages/symfony-runtime)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[altis/core

Core module for Altis

19222.5k2](/packages/altis-core)[mautic/core

Mautic Open Source Distribution

9.8k2.6k9](/packages/mautic-core)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5344.1M527](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2124.0M194](/packages/drupal-core-project-message)

PHPackages © 2026

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