XUtils

Github

A library to interface with the Github API.


Features

  • Light and fast thanks to lazy loading of API classes
  • Extensively tested and documented

Requirements

Quick install

Via Composer.

This command will get you up and running quickly with a Guzzle HTTP client.

composer require knplabs/github-api:^3.0 guzzlehttp/guzzle:^7.0.1 http-interop/http-factory-guzzle:^1.0

Advanced install

We are decoupled from any HTTP messaging client with help by HTTPlug.

Using a different http client

composer require knplabs/github-api:^3.0 symfony/http-client nyholm/psr7

To set up the Github client with this HTTP client

use Github\Client;
use Symfony\Component\HttpClient\HttplugClient;

$client = Client::createWithHttpClient(new HttplugClient());

Read more about using different clients in our docs.

Framework integrations

Documentation

See the doc directory for more detailed documentation.

Maintainers

Please read this post first.

This library is maintained by the following people (alphabetically sorted) :


Articles

  • coming soon...