PHPackages                             bestdeveloper/php-github-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. bestdeveloper/php-github-api

ActiveLibrary[API Development](/categories/api)

bestdeveloper/php-github-api
============================

GitHub API v3 client

1.1.3(13y ago)0491MITPHPPHP &gt;=5.3.2

Since Jul 12Pushed 12y agoCompare

[ Source](https://github.com/bestdeveloper/php-github-api)[ Packagist](https://packagist.org/packages/bestdeveloper/php-github-api)[ Docs](https://github.com/KnpLabs/php-github-api)[ RSS](/packages/bestdeveloper-php-github-api/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (1)Versions (9)Used By (0)

PHP GitHub API
==============

[](#php-github-api)

[![Build Status](https://camo.githubusercontent.com/b4e6827e46ed264aba72b6a1808d900e19c958a76c9bfa99b7838c1b65728450/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f4b6e704c6162732f7068702d6769746875622d6170692e706e67)](http://travis-ci.org/KnpLabs/php-github-api)

A simple Object Oriented wrapper for GitHub API, written with PHP5.

Uses [GitHub API v3](http://developer.github.com/v3/). The object API is very similar to the RESTful API.

Features
--------

[](#features)

- Follows PSR-0 conventions and coding standard: autoload friendly
- Light and fast thanks to lazy loading of API classes
- Extensively tested and documented

Requirements
------------

[](#requirements)

- PHP &gt;= 5.3.2 with [cURL](http://php.net/manual/en/book.curl.php) extension,
- [Buzz](https://github.com/kriswallsmith/Buzz) library,
- (optional) PHPUnit to run tests.

Autoload
--------

[](#autoload)

The new version of `php-github-api` using [Composer](http://getcomposer.org). The first step to use `php-github-api` is to download composer:

```
$ curl -s http://getcomposer.org/installer | php
```

Then we have to install our dependencies using:

```
$ php composer.phar install
```

Now we can use autoloader from Composer by:

```
{
    "require": {
        "knplabs/github-api": "*"
    },
    "minimum-stability": "dev"
}
```

> `php-github-api` follows the PSR-0 convention names for its classes, which means you can easily integrate `php-github-api` classes loading in your own autoloader.

Basic usage of `php-github-api` client
--------------------------------------

[](#basic-usage-of-php-github-api-client)

```
