php - Composer check local repository instead online repository like Maven -
how composer http://getcomposer.org work maven in java. instead of getting repository online, can local repository. so, don't have download again.
i don't know maven, @ least 2 options in composer's world come mind:
access local git repository
let's want use local git repository of braincrafted's bootstrap bundle. add following entry composer.json:
"repositories": [ { "type": "vcs", "url": "/home/user/braincrafted/bootstrap-bundle" } ] "require":{ "braincrafted/bootstrap-bundle":"dev-master" }
satis
another alternative satis - makes have private packagist.com it's explained in documentation
this talk worth watching learn more composer, satis etc: https://www.youtube.com/watch?v=p3nwf8rv1ly
Comments
Post a Comment