php-github-api
php-github-api copied to clipboard
A simple PHP GitHub API client, Object Oriented, tested and documented.
The client allows setting a cache adapter. That works nice with REST API but doesn't work with GraphQL calls
https://github.com/KnpLabs/php-github-api/blob/master/doc/issues.md#search-issues-in-a-project
Hi i'm trying to get all projects on our organisation or a repo but no matter which i tries out it just returns a empty array. The repo is a...
Feature: - PhpStorm improve code completion Closes #1092
Fixes: - Add array parameter to `repositories` method of **CurrentUser** and **User** Api to pass additional parameters like `per_page` and makes the method future proof if GitHub decides to add...
Reading https://github.com/KnpLabs/php-github-api/issues/561 it seems using the SDK async should be possible in some way, but it's not exactly clear how. I have a usecase where [I fetch the repo listing...
Fixes https://github.com/KnpLabs/php-github-api/issues/1091 Not sure if this is the best fix, if it is not, would love guidance on a better one.
https://github.blog/2022-11-28-to-infinity-and-beyond-enabling-the-future-of-githubs-rest-api-with-api-versioning/
Because `ResultPager::get()` [here](https://github.com/KnpLabs/php-github-api/blob/master/lib/Github/ResultPager.php#L205) returns the return value of [`ResponseMediator::getContent()`](https://github.com/KnpLabs/php-github-api/blob/master/lib/Github/HttpClient/Message/ResponseMediator.php#L11-L26), it can occasionally return a string, which causes an unhelpful TypeError since it should only ever return an array. Other usages...
Folks, adding a `.phpstorm.meta.php` file with something like this below, would make users' experience with the package in PhpStorm a bit better when using calls like `->api('issue')`: ```php