2017 © Pedro Peláez
 

library github-api-bundle

GitHub API client for PHP5

image

scribe/github-api-bundle

GitHub API client for PHP5

  • Thursday, October 9, 2014
  • by robfrawley
  • Repository
  • 5 Watchers
  • 0 Stars
  • 345 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 325 Forks
  • 2 Open issues
  • 16 Versions
  • 0 % Grown

The README.md

GitHub API Bundle

Build Status Quality Score Coverage Status Dependency Status Latest Version Software License, (*1)

This is a simple, object oriented PHP5 client for GitHub's API (v3), implemented with an intentionally similar API to GitHub's native RESTful API., (*2)

Features

  • Code Standards: Implements PSR-0 code and structure standards to accommodate auto-loading using Composer or another class auto-loading solution.
  • Speed and Familiarity: Lightweight, fast, and friendly object model utilizing lazy loading with an intentional similarly to GitHub's own RESTful API.
  • Tests and Continuous Integration: Extensive PHPUnit tests utilizing Travis CI as our continuous integration service.
  • Quality, Coverage and Dependencies: Code quality reports with Code Climate, coverage reports with Coveralls, and dependency version monitoring using Gemnasium.
  • Documentation and Examples: Comprehensive examples written in markdown and automatically generated API documentationn.

Requirements

This library requires a short list of dependencies for both a production installation or a development build., (*3)

Production

Development

Installation

This library can be included into your project easily using Composer by adding the dependency to the require section of your composer.json project file., (*4)

{
    "require": {
        "scribe/github-api-library": "dev-master"
    }
}

Usage

Basic Usage

<?php

require_once 'vendor/autoload.php';

$client = new \Github\Client();
$repositories = $client->api('user')->repositories('ornicar');

Cached Usage

<?php

require_once 'vendor/autoload.php';

$client = new \Github\Client(
    new \Github\HttpClient\CachedHttpClient(array('cache_dir' => '/tmp/github-api-cache'))
);

$client = new \Github\HttpClient\CachedHttpClient();
$client->setCache(
    new \Github\HttpClient\Cache\FilesystemCache('/tmp/github-api-cache')
);

$client = new \Github\Client($client);

Documentation

For general usage and examples, you can check the doc directory. For a comprehensive API reference, check this project's github.io webpage., (*5)

Contributors

This project has code contributed from an array of individuals., (*6)

The Versions

09/10 2014
26/03 2014

v1.2.2

1.2.2.0 https://github.com/KnpLabs/php-github-api

GitHub API v3 client

  Sources   Download

MIT

The Requires

 

The Development Requires

api github gist gh

05/01 2014

1.2.1

1.2.1.0 https://github.com/KnpLabs/php-github-api

GitHub API v3 client

  Sources   Download

MIT

The Requires

 

The Development Requires

api github gist gh

02/11 2013

1.2.0

1.2.0.0 https://github.com/KnpLabs/php-github-api

GitHub API v3 client

  Sources   Download

MIT

The Requires

 

The Development Requires

api github gist gh

22/10 2013

1.1.5

1.1.5.0 https://github.com/KnpLabs/php-github-api

GitHub API v3 client

  Sources   Download

MIT

The Requires

 

The Development Requires

api github gist gh

30/08 2013

1.1.4

1.1.4.0 https://github.com/KnpLabs/php-github-api

GitHub API v3 client

  Sources   Download

MIT

The Requires

 

api github gist gh

27/12 2012

1.1.3

1.1.3.0 https://github.com/KnpLabs/php-github-api

GitHub API v3 client

  Sources   Download

MIT

The Requires

 

api github gist gh

21/12 2012

1.1.2

1.1.2.0 https://github.com/KnpLabs/php-github-api

GitHub API v3 client

  Sources   Download

MIT

The Requires

 

api github gist gh

25/10 2012

1.1.1

1.1.1.0 https://github.com/KnpLabs/php-github-api

GitHub API v3 client

  Sources   Download

MIT

The Requires

 

api github gist gh

01/10 2012

1.1.0

1.1.0.0 https://github.com/KnpLabs/php-github-api

GitHub API v3 client

  Sources   Download

MIT

The Requires

 

api github gist gh

07/09 2012

1.0.2

1.0.2.0 https://github.com/KnpLabs/php-github-api

GitHub API v3 client

  Sources   Download

MIT

The Requires

 

api github gist

05/09 2012

1.0.1

1.0.1.0 https://github.com/KnpLabs/php-github-api

GitHub API v3 client

  Sources   Download

MIT

The Requires

 

api github gist

19/07 2012

1.0.0

1.0.0.0 https://github.com/KnpLabs/php-github-api

GitHub API v3 client

  Sources   Download

MIT

The Requires

 

api github gist

12/07 2012

0.1

0.1.0.0 https://github.com/KnpLabs/php-github-api

GitHub API v3 client

  Sources   Download

MIT

The Requires

 

The Development Requires

api github gist