-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Packagist version enumeration support (#675)
Fixes #230 Potential improvements before merging: - From the Best Practices here: https://packagist.org/apidoc, it is recommended to send a User-agent header to allow them to contact us to resolve any bandwidth issues. - Also can utilize `If-Modified-Since` headers to avoid expiring caches too early when calling the API - The version enumeration is not quite identical to the C implementation in PHP, though matches the slightly ambiguous specification given in the documentation. Should be fine for the vast majority of cases. We should also think about pushing the packagist comparison upstream to the univers library.
- Loading branch information
1 parent
d3e1ea0
commit 050c386
Showing
7 changed files
with
350 additions
and
34 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.