Category : github-api

I’m making a web application and I’m implementing a changelog system. My goal is, that whenever a changelog should be displayed (now, it doesn’t matter how), my PHP script fetches the release info from the repository (specifically from URL https://github.com/MyUsername/MyRepositoryName/releases/tag/v7.3) and displays it in the changelog. The problem is, that I feel like this might ..

Read more

I try to use KnpLabs/php-github-api (https://github.com/KnpLabs/php-github-api) to access all commits of a public repository master branch (for test purposes, i ask https://github.com/KnpLabs/php-github-api). Here is the call : protected function askGitHub() { $config = $this->getConfigFormValues(); $client = new Redis(); $client->connect(‘127.0.0.1’, 6379); // Create a PSR6 cache pool $pool = new RedisCachePool($client); $client = new GitClient(); $client->addCache($pool); ..

Read more