PHPackages                             guillermoandrae/php-github - 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. guillermoandrae/php-github

ActiveLibrary[API Development](/categories/api)

guillermoandrae/php-github
==========================

A PHP client library for the GitHub API.

0.3.0(11y ago)122[9 issues](https://github.com/guillermoandrae/php-github/issues)MITPHPPHP &gt;=5.4.0

Since Mar 9Pushed 11y agoCompare

[ Source](https://github.com/guillermoandrae/php-github)[ Packagist](https://packagist.org/packages/guillermoandrae/php-github)[ Docs](https://github.com/guillermoandrae/php-github)[ RSS](/packages/guillermoandrae-php-github/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (7)Versions (5)Used By (0)

php-github
==========

[](#php-github)

[![Travis branch](https://camo.githubusercontent.com/bdf9ff01f7d1296c92b0f06b9080365d771180941d8d071214bbae963c6308d5/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6775696c6c65726d6f616e647261652f7068702d6769746875622e7376673f7374796c653d666c6174)](https://travis-ci.org/guillermoandrae/php-github) [![Coverage Status](https://camo.githubusercontent.com/66f96fc01dde004b1b4eefe781616db3e4517c6bacb2e9068aea485c05d7d0ea/687474703a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6775696c6c65726d6f616e647261652f7068702d6769746875622e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/guillermoandrae/php-github/?branch=master) [![Code Quality](https://camo.githubusercontent.com/6f771e5e1277f34702526d32db01b30350534c288ef5536d4eea7b270187ab3e/687474703a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6775696c6c65726d6f616e647261652f7068702d6769746875622e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/guillermoandrae/php-github/?branch=master) [![HHVM](https://camo.githubusercontent.com/362e308d30d007b5ae7fdc41d959777c8ed356ca2aec77cf747639aa64e8d5a6/68747470733a2f2f696d672e736869656c64732e696f2f6868766d2f6775696c6c65726d6f616e647261652f7068702d6769746875622e7376673f7374796c653d666c6174)](http://hhvm.h4cc.de/package/guillermoandrae/php-github.json)

A PHP client library for the [GitHub API](https://developer.github.com/v3/).

Installation
------------

[](#installation)

The recommended way to install this library is via [Composer](http://getcomposer.org):

```
{
    "require": {
        "guillermoandrae/php-github": "*"
    }
}

```

Basic Usage
-----------

[](#basic-usage)

The basic client uses [Guzzle](http://docs.guzzlephp.org/en/latest/) to communicate with the GitHub API. Instantiation of the client is straight-forward:

```
// create the client
$client = new GitHub\Client\Client();
```

Resources are represented as objects, and resource data is fetched through the use of object mappers:

```
// pick a resource and get some useful data, like so...
$users = $client->resource('user')->findAll();
foreach ($users as $user) {
    printf('%s has %d followers.', $user->getLogin(), $user->getNumFollowers());
    echo PHP_EOL;
}

// or like so...
$org = $client->resource('organization')->find('github');
echo $org->getLocation();

// .. and rejoice!
echo 'YEESSSSSSSSSSSS!';
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

4087d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2506dcc85d5af658321cdb08df33f0ebb585c04f24bfcca0f8c05dd6f68bc0f?d=identicon)[guillermoandrae](/maintainers/guillermoandrae)

---

Top Contributors

[![guillermoandrae](https://avatars.githubusercontent.com/u/133861?v=4)](https://github.com/guillermoandrae "guillermoandrae (16 commits)")

---

Tags

phpapisdkgithubgh

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/guillermoandrae-php-github/health.svg)

```
[![Health](https://phpackages.com/badges/guillermoandrae-php-github/health.svg)](https://phpackages.com/packages/guillermoandrae-php-github)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[hubspot/api-client

Hubspot API client

23914.2M16](/packages/hubspot-api-client)[php-opencloud/openstack

PHP SDK for OpenStack APIs. Supports BlockStorage, Compute, Identity, Images, Networking and Metric Gnocchi

2292.2M24](/packages/php-opencloud-openstack)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[resend/resend-php

Resend PHP library.

574.7M21](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
