Use hash_file('sha1', $foo) instead of sha1_file(). Matches the code in composer/composer which is used to verify the checksum.
Use hash_file('sha1', $foo) instead of sha1_file().
Matches the code in composer/composer which is used to verify the checksum.

gencer/satis,alcohol/satis,bartekmis/satis,andkirby/satis,desyncr/composer-mirror,bartekmis/satis,astax-t/satis,astax-t/satis,andkirby/satis,ezsystems/satis,Leftbrained/satis,MoT3rror/satis,achristodoulou/satis,achristodoulou/satis,socifi/satis,orls/satis,kavw/satis,ezsystems/satis,JeroenDeDauw/satis,Leftbrained/satis,yonh/satis,MoT3rror/satis,phansys/satis,ninjaparade/satis,monsieurbiz/packages.monsieurbiz.com,composer/satis,composer/satis,alcohol/satis,gencer/satis,orls/satis,gencer/satis,ninjaparade/satis,composer/satis,monsieurbiz/packages.monsieurbiz.com,atimmer/satis,JamesRezo/satis,yonh/satis,JamesRezo/satis,nfreear/satis,atimmer/satis,rawkode/satis,JeroenDeDauw/satis,Tyrael/satis,kavw/satis,phansys/satis,socifi/satis,alcohol/satis,ezsystems/satis,Tyrael/satis,desyncr/composer-mirror,andkirby/satis,nfreear/satis,monsieurbiz/packages.monsieurbiz.com,Flyingmana/satis,alcohol/satis