On 07/05/2025 14:18, Tim Düsterhus wrote:
I don't think it is currently possible to define a minimum composer version as part of a package’s dependencies.
There are three "platform dependency" pseudo-packages available for packages to depend on different aspects of Composer's version: https://getcomposer.org/doc/articles/composer-platform-dependencies.md If these didn't seem suitable, they could add another, like "composer-autoloader".
I think "autoloading tools and conventions would need to adapt" is definitely a cost to be weighed against the benefit, but not a blocker in itself.
-- Rowan Tommins [IMSoP]