2025-06-12

Set up auth.json for Composer

To enable Composer to access libraries from our GitHub and Repman accounts there needs to be a file called ~/.composer/auth.json on the machine with the following code:

{
    "github-oauth": {
        "github.com": "this-is-your-github-token-7e3f2df055864c"
    },
    "http-basic": {
        "republic.repo.repman.io": {
            "username": "token",
            "password": "this-is-your-repman-token-b2dfe5098e0ec"
        }
    }
}

Use your personal token’s password.