You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A badge for Packagist to display the version constraint of a dependency. This should be similar/same to the already existing packagist/php-v badge but instead of showing hardcoded PHP version constraint it should return the version constrained for a dynamic dependency.
I'm not sure what the best URL structure would be as we would have to pass two package names to the shields.io service. First idea would be something like:
📋 Description
A badge for Packagist to display the version constraint of a dependency. This should be similar/same to the already existing
packagist/php-v
badge but instead of showing hardcoded PHP version constraint it should return the version constrained for a dynamic dependency.I'm not sure what the best URL structure would be as we would have to pass two package names to the shields.io service. First idea would be something like:
🔗 Data
The data is already available in the https://github.com/badges/shields/blob/master/services/packagist/packagist-php-version.service.js - but instead of
packageVersion.require.php
it should use something likepackageVersion.require[vendor+'/'+name]
.🎤 Motivation
Some repositories want to showcase version constraints for important dependencies - for example the supported Symfony or Laravel versions.
The text was updated successfully, but these errors were encountered: