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 58 php-github-api issues
Sort by recently updated
recently updated
newest added
trafficstars

API DOC https://docs.github.com/en/rest/repos/contents The API call to return the content of a file return an empty content if a file is bigger than 1MB. To be able to download that...

needs-work

Updated `repositories` method in Teams api to support the new end point. Added params argument for Apps `listRepositories` method and Teams `repositories` method.

The library locks you into providing only specific parameters. For example, `\Api\CurrentUser`: ![image](https://user-images.githubusercontent.com/54973868/158139424-d0b78a5b-861a-4d2a-b182-387ff02c3123.png) The `/user/repos` endpoint has more parameters than just these, though, such as `per_page`, which is now being...

Hello! ## The Problem (Description) This is technically a duplicate of #597 from 2017, but I wanted to add in details and present some possible solutions. We're using this library...

With the GuzzleHTTP\Client it's not possible to load assets as binary, the redirect to https://objects.githubusercontent.com/ returns an error: ```php $token = 'example'; $client = Client::createWithHttpClient( new \GuzzleHttp\Client() ); $client->authenticate( $token,...

**PHP version**: 8.0.11 **Description** I (occasionally) get the following error when attempting to authenticate as an app ``` 'Expiration time' claim ('exp') must be a numeric value representing the future...

While this code works fine for most use cases: https://github.com/KnpLabs/php-github-api/blob/de2f27846139e7b4b92dcad9ff77660d0dc5dfad/lib/Github/Api/GitData/References.php#L83 It looks like that `GET /refs/{ref}` is an undocumented endpoint and it returns an array of references when an exact...

Hello, I have an error when I try to add a label on an issue, following [this documentation](https://github.com/KnpLabs/php-github-api/blob/master/doc/issue/labels.md#add-a-label-on-an-issue). Here is how I do it: ```php $labels = $client->api('issue')->labels()->add('matthieu-rolland', 'test-issuebot', 51,...

would it make sense, before calling endpoints of the github.com api (and before sending secret accesstokens over the wire) to validate the ssl certificate of the endpoint, so we are...

documentation

Check if the github actions api is fully documented and check if the `$parameters` options array is documented.

documentation
good first issue