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(5y ago)017PHPPHP &gt;=7.2.0

Since Jul 14Pushed 5y 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 3w 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 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

2167d 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.5k456.5k2](/packages/roots-bedrock)[fxp/composer-asset-plugin

NPM/Bower Dependency Manager for Composer

8884.8M41](/packages/fxp-composer-asset-plugin)[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)[foxy/foxy

Fast, reliable, and secure NPM/Yarn/pnpm bridge for Composer

177289.8k26](/packages/foxy-foxy)[craftcms/plugin-installer

Craft CMS Plugin Installer

283.4M9](/packages/craftcms-plugin-installer)

PHPackages © 2026

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