how to use a branch in composer.json

add a "dev-[branch-name]' like :
 "repositories": [
        {
            "type": "composer",
            "url": "http://ci.kreactive.eu"
        },
        {
            "type": "git",
            "url" : "https://github.com/pulzarraider/SonataAdminBundle"
        }
    ],
    "require": {
         "sonata-project/admin-bundle": "dev-sonata_type_model_autocomplete",
    }

评论

热门博文