PHPackages                             timonkreis/composer-package-paths - 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. timonkreis/composer-package-paths

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

timonkreis/composer-package-paths
=================================

Composer plugin to configure paths for composer package types.

1.1.0(6y ago)017PHPPHP &gt;=7.2.0

Since Jul 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/timonkreis/composer-package-paths)[ Packagist](https://packagist.org/packages/timonkreis/composer-package-paths)[ RSS](/packages/timonkreis-composer-package-paths/feed)WikiDiscussions master Synced 1w ago

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

ReadMe
======

[](#readme)

Composer plugin to configure paths for composer package types.

To set package paths, add configuration of package types and paths to your *composer.json*:

```
...
"extra": {
    "package-paths": {
        "[package-type]": "custom/path/{$vendor}/{$name}"
    }
}
...
```

The `[package-type]` has to match the [type of the composer package](https://getcomposer.org/doc/04-schema.md#type).

Alternatively, you can add paths for vendor namespaces or even single packages:

```
...
"extra": {
    "package-paths": {
        "my-vendor/*": "vendor/path/{$vendor}/{$name}",
        "my-vendor/my-package": "vendor/path/{$vendor}/{$name}"
    }
}
...
```

The priority is as follows:

1. Check if the package is referenced directly by package name (`[vendor]/[name]`).
2. Check if the package namespace is referenced (`[vendor]/*`).
3. Check if the package type is referenced (`[package-type]`).

Possible variables
------------------

[](#possible-variables)

Variable:Description:`{$vendor}`Vendor name of the package.`{$name}`Package name (after vendor name).

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Total

2

Last Release

2212d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b53b7979c667b06861f7d0c43484458550d7f1bb8276b21603e33af43b72ad5?d=identicon)[TimonKreis](/maintainers/TimonKreis)

---

Top Contributors

[![timonkreis](https://avatars.githubusercontent.com/u/1530839?v=4)](https://github.com/timonkreis "timonkreis (2 commits)")

---

Tags

composerpackageinstallerpaths

### Embed Badge

![Health badge](/badges/timonkreis-composer-package-paths/health.svg)

```
[![Health](https://phpackages.com/badges/timonkreis-composer-package-paths/health.svg)](https://phpackages.com/packages/timonkreis-composer-package-paths)
```

###  Alternatives

[roots/bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure

6.6k471.6k2](/packages/roots-bedrock)[altis/core

Core module for Altis

19233.0k4](/packages/altis-core)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.6k10](/packages/helsingborg-stad-municipio)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5345.4M596](/packages/drupal-core-composer-scaffold)[automattic/jetpack-autoloader

Creates a custom autoloader for a plugin or theme.

566.3M160](/packages/automattic-jetpack-autoloader)[drupal/core-project-message

Adds a message after Composer installation.

2125.4M213](/packages/drupal-core-project-message)

PHPackages © 2026

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