hiqdev / asset-packagist

Asset Packagist
https://asset-packagist.org
BSD 3-Clause "New" or "Revised" License
247 stars 24 forks source link

Composer2: available-package-patterns #149

Closed glaubinix closed 2 years ago

glaubinix commented 2 years ago

Composer 2 introduced a few new properties that can be added to the packages.json response, among others available-packages or available-package-patterns see Composer upgrade documentation.

Setting either of them allows anyone using the Composer repository to skip fetching the provider files if the required packages do not match the defined names/patterns, resulting in less request against Asset Packagist.

SilverFire commented 2 years ago

Thank you for a contribution!