Get support for dunglas/docker-private-composer-packages

If you're new to LTH, please see our FAQ for more information on what it is we do.

Support Options

Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:

View Open Issues

Take a look to see if anyone else has experienced the same issue as you and if they managed to solve it.

Open an Issue

Make sure to read any relevant guidelines for opening issues on this repo before posting a new issue.

Sponsor directly

Check out the page and see if there are any options to sponsor this project or it's developers directly.

dunglas/docker-private-composer-packages

Example: Securely Access Private Composer Packages

Following my article "Securely Access Private Git Repositories and Composer Packages in Docker Builds" and this discussion on Twitter, here is an example of how to use an auth.json file mounted as a Docker secret file to download private Composer packages.

First, create a local auth.json file containing a GitHub Personal Access Token and update composer.json to reference a private package:

{
    "github-oauth": {
        "github.com": "ghp_<your-token>"
    }
}

Build with Docker Compose: docker compose build

Build with Docker: docker build --secret id=composer_auth,src=auth.json .

Our Mission

We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.

Interesting Articles

Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated

p-e622a1a2