Download the PHP package norman-huth/github-api without Composer
On this page you can find all versions of the php package norman-huth/github-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download norman-huth/github-api
More information about norman-huth/github-api
Files in norman-huth/github-api
Package github-api
Short Description A PHP GitHub API wrapper wich used the Laravel HTTP Client (based on Guzzle HTTP client).
License MIT
Informations about the package github-api
GitHub API
A PHP GitHub API wrapper wich used the Laravel HTTP Client (based on Guzzle HTTP client).
This package does not require Laravel and can be used in any PHP application.
The API endpoint methods are automatically generated with the references from octokit/openapi.
Installation
Usage
Every method returns a \Illuminate\Http\Client\Response
.
Endpoints
See ENDPOINTS.md
Aliases methods for the current authenticated user
For frequently used endpoints for the current authenticated user, there are also additional methods that can be called directly from the client.
Get the authenticated user
Alias for $client->users()->getTheAuthenticatedUser()
.
Use the REST API to get public and private information about authenticated users.
Reference: https://docs.github.com/en/rest/users/users#get-the-authenticated-user
List repositories for the authenticated user
Reference: https://docs.github.com/en/rest/repos/repos#list-repositories-for-the-authenticated-user
Alias for $client->repos()->listRepositoriesForTheAuthenticatedUser()
.
List gists for the authenticated user
Reference: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user
Alias for $client->gists()->listGistsForTheAuthenticatedUser()
.
List issues assigned to the authenticated user
Reference: https://docs.github.com/rest/issues/issues#list-issues-assigned-to-the-authenticated-user
Alias for $client->issues()->listIssuesAssignedToTheAuthenticatedUser()
.
List notifications for the authenticated user
Reference: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user
Alias for $client->activity()->listNotificationsForTheAuthenticatedUser()
.
List organization issues assigned to the authenticated user
Alias for $client->issues()->listOrganizationIssuesAssignedToTheAuthenticatedUser()
.
List repository notifications for the authenticated user
Alias for $client->activity()->listRepositoryNotificationsForTheAuthenticatedUser()
.