A Composer plugin which allows any package to define its own install path.
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"
}
}
❯ composer require "typedphp/composer-path-plugin:*"
❯ composer create-project "typedphp/composer-path-plugin:*" .
❯ vendor/bin/phpunit