klees
klees
WWindmill
Created by klees on 5/27/2024 in #help
Using private GitHub-Repo with composer
I'm currently trying to include a private repo from GitHub into a PHP script using that require-syntax on top of the script. Currently I'm trying:
// require:
// git@github.com:my-org/my-private-repo.git
// require:
// git@github.com:my-org/my-private-repo.git
but the test runner for my script fails with Could not parse version constraint github.com:conceptsandtraining/auto-cat. Is there any way to use a private repo in my PHP script? Any way to configure composer with keys for GitHub? Any way to get hold of some composer.json to make the appropriate changes?
17 replies