Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow scalar values for extra.installer-paths.PATH #451

Closed
effulgentsia opened this issue Mar 13, 2020 · 1 comment
Closed

Allow scalar values for extra.installer-paths.PATH #451

effulgentsia opened this issue Mar 13, 2020 · 1 comment

Comments

@effulgentsia
Copy link
Contributor

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

@effulgentsia
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants