composer / installers

A Multi-Framework Composer Library Installer
MIT License
1.43k stars 412 forks source link

Add version to installer-path variables #511

Closed bwabt closed 4 months ago

bwabt commented 2 years ago

Feature request: Some libraries are using versions as sub-paths (e.g. libraries/{$name}/{$version}), presumably to allow for multiple version support. If its easy to expose this as a variable, then this would save some code.

Seldaek commented 2 years ago

Multiple version support makes no sense in a PHP context IMO as two same classes of different versions cannot coexist, so I don't quite get what the point is here.