Repository navigation
Added
vendor:acmeininstaller-pathsas an alias ofacme/*, the spelling used by composer/installers and oomphinc/composer-installers-extender (#58).?and[...]glob syntax in patterns: any pattern containing*,?or[is matched withfnmatch()(#62).extra.plugin-modifies-install-path: true, so Composer loads this plugin before other plugins (#55).- Integration test suite that boots a real Composer against fixture packages; CI on PHP 8.1–8.5, Windows and the lowest supported Composer, PHPStan at level max, Dependabot, weekly scheduled run (#63, #64).
- README: Troubleshooting section, precedence and
vendor:notes in the oomphinc migration guide, guidance on directories left behind after a path change (#56, #58, #60). CHANGELOG.md,SECURITY.md,.gitattributesexport-ignore for dist archives, andhomepage,support,fundingincomposer.json(#65).
Changed
- Minimum Composer is 2.3 (
composer-plugin-api ^2.3). Composer 2.0–2.2 declaresupports()untyped and the plugin fataled at activation there; the resolver now refuses to install it instead (#54). - Pattern matching is case-insensitive, and the resolved path no longer carries a trailing slash (#62).
- Behaviour change: an unknown
{$variable}or an unknown flag in a path template throwsInvalidArgumentExceptionnaming the placeholder. Previously an unknown variable resolved to an empty string and an unknown flag was ignored, which sent every matching package into one directory (#59). installer-namemust be a string to override{$name};PackageUtils::getPackageInstallPath()accepts thePartialComposerthat Composer's installers hold (#64).
Removed
- Dead PEAR support:
PearPlugin,PearInstallerand thePearPluginentry point inextra.class.Composer\Installer\PearInstallerdoes not exist in any Composer 2, so the plugin never registered anything (#61).
Fixed
- A non-array
extra.installer-types(a plain string) threw aTypeErroron every Composer command; a string is now accepted as a single type (#57). - The absolute-path guard also rejects backslash-leading and UNC paths (#62).
- README examples
/tools/{$name}/and../modules/{$name}/were rejected by the path guards, and the "Why" section wrongly claimed packages must depend on composer/installers (#56).
Full changelog: https://github.com/mnsami/composer-custom-directory-installer/blob/master/CHANGELOG.md