If your project needs to use private packages, phpkg
needs to access repositories on GitHub.
In order to do so, it requires an access token.
You can use the credential
command to add your token.
Note If you already have an environment variable named
GITHUB_TOKEN
with your GitHub token, then you don't need to do anything.
First, follow this link and generate an access token. Then run the following command:
phpkg credential github.com {your-github-access-token}
This will allow phpkg to access the GitHub APIs and read private repositories.
We believe that PHP has enormous untapped potential, and we are dedicated to creating tools that empower developers to harness its full power and capabilities. We aim to unlock this potential by creating tools that help developers harness PHP's full capabilities and extend its power to new heights. To this end, we developed phpkg, a cutting-edge package manager that simplifies the process of using PHP to its fullest extent. With phpkg, developers can take advantage of all that PHP has to offer and build more efficient, scalable, and powerful applications.