What is shasum in composer.lock?

I want to update package frameworks and I changed my composer.lock in but I don't understand shasum

"dist": {

            "type": "zip",

            "url": "http://www.packages/dist/packages.zip",

            "reference": "83547c3fa8a8fa95aa40b00afc5117d2d38a9f00",

            "shasum": "75c9588c293b5893c07ba49ab28e28e0eea52f25"
        },

      

+3


source to share


1 answer


shasum

is the SHA1 checksum of the downloaded ZIP to make sure it hasn't been corrupted or tampered with. If this is not the same as specified in the composer.lock file, it means that the downloaded file is incomplete or incorrect and composer will refuse to install the package.



+3


source







All Articles