I want to make sure composer is using an exact version of a git repository by specifing the SHA1 of the commit. How can I do this?
I tried just putting the sha1 code into the version string, but this does not work:
[UnexpectedValueException]
Could not parse version constraint a93cbe224a6922f181f55c7a35bde0cf61a6a5a4
You can specify it after the version, as such (assuming you want the master branch):
"dev-master#a93cbe224"Read more about requirements in the composer docs