PHPackages                             typedphp/composer-path-plugin - 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. typedphp/composer-path-plugin

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

typedphp/composer-path-plugin
=============================

A Composer plugin which allows any package to define its own install path.

0.1(11y ago)218MITPHPPHP &gt;=5.4.0CI failing

Since Nov 2Pushed 5y agoCompare

[ Source](https://github.com/typedphp/composer-path-plugin)[ Packagist](https://packagist.org/packages/typedphp/composer-path-plugin)[ RSS](/packages/typedphp-composer-path-plugin/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Composer Path Plugin
====================

[](#composer-path-plugin)

[![Build Status](https://camo.githubusercontent.com/0503def1f09c64459058b937f0a3802a4f852167624b328bfed8a9835ca3f014/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f74797065647068702f636f6d706f7365722d706174682d706c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/0503def1f09c64459058b937f0a3802a4f852167624b328bfed8a9835ca3f014/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f74797065647068702f636f6d706f7365722d706174682d706c7567696e2e7376673f7374796c653d666c61742d737175617265)[![Code Quality](https://camo.githubusercontent.com/3b13b6fbdfb9d7baa542175bf43dab323c453e97946ab0f513fdc4d14209247a/687474703a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f74797065647068702f636f6d706f7365722d706174682d706c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/3b13b6fbdfb9d7baa542175bf43dab323c453e97946ab0f513fdc4d14209247a/687474703a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f74797065647068702f636f6d706f7365722d706174682d706c7567696e2e7376673f7374796c653d666c61742d737175617265)[![Code Coverage](https://camo.githubusercontent.com/329310f99b90159b8023c62faf5e1e9fd5e4395c8af514441ac48106073027a0/687474703a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f74797065647068702f636f6d706f7365722d706174682d706c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/329310f99b90159b8023c62faf5e1e9fd5e4395c8af514441ac48106073027a0/687474703a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f74797065647068702f636f6d706f7365722d706174682d706c7567696e2e7376673f7374796c653d666c61742d737175617265)[![Version](https://camo.githubusercontent.com/b6ba620f2f75540607516fc5f2cd6f4c46df2b209192ac0c0f1b81c80e05e633/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74797065647068702f636f6d706f7365722d706174682d706c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/b6ba620f2f75540607516fc5f2cd6f4c46df2b209192ac0c0f1b81c80e05e633/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74797065647068702f636f6d706f7365722d706174682d706c7567696e2e7376673f7374796c653d666c61742d737175617265)[![License](https://camo.githubusercontent.com/76089cfa3078586b64903a6b0269079f4a9291a167d0b9ce2d26824fa11dbad5/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f74797065647068702f636f6d706f7365722d706174682d706c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/76089cfa3078586b64903a6b0269079f4a9291a167d0b9ce2d26824fa11dbad5/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f74797065647068702f636f6d706f7365722d706174682d706c7567696e2e7376673f7374796c653d666c61742d737175617265)

A Composer plugin which allows any package to define its own install path.

Examples
--------

[](#examples)

You can define where a dependency should install itself to:

```
"extra" : {
    "path" : "tests"
}
```

You can override the install paths of other dependencies:

```
"extra" : {
    "paths" : {
        "symfony/*" : "symfony"
    }
}
```

Installation
------------

[](#installation)

```
❯ composer require "typedphp/composer-path-plugin:*"
```

Testing
-------

[](#testing)

```
❯ composer create-project "typedphp/composer-path-plugin:*" .
❯ vendor/bin/phpunit
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

4215d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/00089084814b5b79cd35b9f501bcc48d74c5afb2cb4703562a82e081f31c843c?d=identicon)[assertchris](/maintainers/assertchris)

---

Top Contributors

[![assertchris](https://avatars.githubusercontent.com/u/200609?v=4)](https://github.com/assertchris "assertchris (14 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/typedphp-composer-path-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/typedphp-composer-path-plugin/health.svg)](https://phpackages.com/packages/typedphp-composer-path-plugin)
```

###  Alternatives

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5341.9M446](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184108.8k8](/packages/olvlvl-composer-attribute-collector)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)

PHPackages © 2026

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