Welcome Guest, Not a member yet? Register   Sign In
Overwrite config file composer
#2

i have not done it ; but the basics are putting your code at your repo ,then adding a reference to that source into the composer.json file. So when you do say a composer update it will check against all entries  in composer.json including your repo. Its on the composer docs. This seems to be the essence:

Code:
{
    "require": {
        "vendor/my-private-repo": "dev-master"
    },
    "repositories": [
        {
            "type": "vcs",
            "url":  "[email protected]:vendor/my-private-repo.git"
        }
    ]
}

Reply


Messages In This Thread
Overwrite config file composer - by MatheusCastro - 03-06-2020, 06:46 AM
RE: Overwrite config file composer - by captain-sensible - 03-07-2020, 03:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB