Skip to main content

Module content_hash

Module content_hash 

Source
Expand description

Port of Composer\Package\Locker::getContentHash (2.10.3, see docs/reference/Locker.php): md5 of a subset of composer.json re-encoded through JsonFile::encode($relevantContent, 0).

Functionsยง

content_hash
md5_hex
hash('md5', $s) in hexadecimal.