composer / installers

A Multi-Framework Composer Library Installer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow scalar values for extra.installer-paths.PATH

effulgentsia opened this issue · comments

Per composer/composer#8353, composer config has a maximum depth of 3. In many cases, the installer path array only contains one item in it anyway. For example, ["type:wordpress-plugin"]. It would be convenient if composer/installers allowed this to be optionally specified as a scalar: "type:wordpress-plugin". That way, one could do:
composer config extra.installer-paths.your/custom/path/{\$name} type:wordpress-plugin

Turns out there's already a PR for this: #449