Lock a specific git revision in composer
You need the git version of a php library because there is no official release, but the last commit in the master branch broke it? No problem with composer! You can specify the exact revision you want like this:
{
...
"require": {
"foo/bar": "dev-master#1333333333333333333333333333333333333337"
}
...
}
This lock "foo/bar" to an insanely leet revision in branch "master".
Written by Hannes Georg
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Php
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#