php-github-api icon indicating copy to clipboard operation
php-github-api copied to clipboard

A simple PHP GitHub API client, Object Oriented, tested and documented.

Results 61 php-github-api issues
Sort by recently updated
recently updated
newest added

If I understand correctly, the method for this api https://docs.github.com/en/rest/repos/repos#list-repositories-for-a-user

When using etags, the reply from github may be empty and the underlying APIs will return an empty string. We need to flip those to empty arrays. e.g.: ```php $github_builder...

This change adds a new method to rerequest a check run (see also https://docs.github.com/en/rest/checks/runs?apiVersion=2022-11-28#rerequest-a-check-run).

It is sometimes required to identify any branches of which a given commit ID is a member of. GitHub API provides such a method as documented here: https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28#list-branches-for-head-commit Propose adding...

[Merge a pull request API](https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#merge-a-pull-request) endpoint accepts `sha` property, but it's optional. This PR makes the `$sha` property optional without introducing breaking changes

PHP 7 is not supported anymore. Change minimum supported version to PHP 8.0 to remove dependency on polyfill.

For the testing purposes I need to change `https://api.github.com` host to the mock API url, but there is no way to do it. All auto-tests should go to the mock...

Tato změna přidává podporu custom properties. [https://docs.github.com/en/rest/repos/custom-properties](https://docs.github.com/en/rest/repos/custom-properties)

## Description The `downloadLogs()` method in the WorkflowJobs and WorkflowRuns API fails when attempting to download GitHub Actions job logs. Instead of returning the log data, it fails with an...

See this: https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api?apiVersion=2022-11-28#media-types GitHub not longer versions the accept header. It uses this instead: https://docs.github.com/en/rest/about-the-rest-api/api-versions?apiVersion=2022-11-28 But since GitHub is only exposing a single API right now, there's no need for...