dependencies - Composer branche aliasing -


i have package a (residing in vcs: github) has 1 branche: dev-master. whenever package required other package version constraint 1.* want resolved dev-master.

so put in package's composer.json:

"extra": {    "branch-alias": {         "1.*": "dev-master"     } } 

i tried installing package b (which requires package -> version 1.), composer errors out: version 1.* not found.

why alias not working?

you need set alias the other way around this:

{     "extra": {         "branch-alias": {             "dev-master": "1.x-dev"         }     } } 

Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -