Download the PHP package tournayrelabs/github-sdk-php without Composer
On this page you can find all versions of the php package tournayrelabs/github-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tournayrelabs/github-sdk-php
More information about tournayrelabs/github-sdk-php
Files in tournayrelabs/github-sdk-php
Download tournayrelabs/github-sdk-php
More information about tournayrelabs/github-sdk-php
Files in tournayrelabs/github-sdk-php
Vendor tournayrelabs
Package github-sdk-php
Short Description PHP SDK for the GitHub REST API, automatically generated from the official OpenAPI specification
License MIT
Homepage https://github.com/TournayreLabs/github-sdk-php
Package github-sdk-php
Short Description PHP SDK for the GitHub REST API, automatically generated from the official OpenAPI specification
License MIT
Homepage https://github.com/TournayreLabs/github-sdk-php
Please rate this library. Is it a good library?
Informations about the package github-sdk-php
GitHub PHP SDK
PHP SDK for the GitHub REST API, automatically generated from the official OpenAPI specification.
Requirements
- PHP >= 8.2
- Composer
- Node.js >= 20
- Python 3 (for the auth patch script)
Quick Start
Usage
Available Make Targets
| Target | Description |
|---|---|
make fetch-and-generate |
Download spec + apply auth + generate SDK (recommended) |
make fetch-openapi |
Download the latest GitHub OpenAPI spec |
make update-spec |
Alias for fetch-openapi |
make generate-sdk |
Generate SDK from an already-downloaded spec |
make install-dependencies |
Install PHP dependencies |
make test |
Run PHPUnit tests |
make test-coverage |
Run tests with HTML coverage report |
make clean |
Remove generated SDK files |
make help |
Show all available targets |
Authentication
The SDK supports the following GitHub authentication methods:
- Personal Access Token (PAT):
$config->setAccessToken('ghp_...') - GitHub App JWT:
$config->setAccessToken('your_jwt_token') - OAuth2 token:
$config->setAccessToken('gho_...')
Regenerating the SDK
The SDK is generated from the official GitHub OpenAPI specification. To regenerate with the latest API changes:
OpenAPI Source
The GitHub REST API OpenAPI description is maintained at: github/rest-api-description
License
MIT
All versions of github-sdk-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
psr/http-client Version ^1.0
psr/http-message Version ^1.0 || ^2.0
psr/http-factory Version ^1.0
symfony/http-client Version 6.4.*
php-http/httplug Version ^2.2
psr/http-client Version ^1.0
psr/http-message Version ^1.0 || ^2.0
psr/http-factory Version ^1.0
symfony/http-client Version 6.4.*
php-http/httplug Version ^2.2
The package tournayrelabs/github-sdk-php contains the following files
Loading the files please wait ...