packagist icon indicating copy to clipboard operation
packagist copied to clipboard

Is there a way to get the package hash(md5,sha1,sha512...) by an API call?

Open p-brito opened this issue 2 years ago • 2 comments

Hi

Is there a way of getting the original package hash by an API call?

Ty

p-brito avatar Apr 17 '22 11:04 p-brito

I'm not sure what hash you are referring to, but I'm afraid the answer is no.

Seldaek avatar Apr 29 '22 14:04 Seldaek

@p-brito you see the hashes here: https://repo.packagist.org/packages.json And so on in the corresponding files. E.g.: https://repo.packagist.org/p/provider-2013$28c7556bfcc60a0c1fd17c3c80d4e3b0a97813acba7a2ac3f4ee10fa63b1e6af.json

simialbi avatar Aug 08 '22 10:08 simialbi