PHPackages                             milo/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. milo/github-api

ActiveLibrary

milo/github-api
===============

GitHub API easy access

v2.0.4(5mo ago)92167.3k↑441.7%53[1 issues](https://github.com/milo/github-api/issues)9MITPHPPHP 8.0 - 8.5CI passing

Since May 19Pushed 5mo ago39 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (24)Used By (9)

[GitHub API](https://developer.github.com/v3/) Easy Access library
==================================================================

[](#github-api-easy-access-library)

Works with cURL, stream or any of your HTTP client.

[![Downloads this Month](https://camo.githubusercontent.com/5f3de8593da7076b818a80299628f5bc2760ff22fa7be9cef41d6c7c76274c13/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6d696c6f2f6769746875622d6170692e737667)](https://packagist.org/packages/milo/github-api)[![Tests](https://github.com/milo/github-api/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/milo/github-api/actions)

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

[](#installation)

Download [release](https://github.com/milo/github-api/releases), decompress and include `github-api.php` manually, or use [Composer](https://getcomposer.org/):

```
composer require milo/github-api

```

Documentation
-------------

[](#documentation)

Everything at [wiki pages](https://github.com/milo/github-api/wiki), including the [short classes description](https://github.com/milo/github-api/wiki/Classes-description).

Quick Start
-----------

[](#quick-start)

List all emojis used on GitHub.

```
use Milo\Github;

$api = new Github\Api;
$response = $api->get('/emojis');
$emojis = $api->decode($response);

print_r($emojis);
```

```
stdClass Object (
    [+1] => https://github.global.ssl.fastly.net/images/icons/emoji/+1.png?v5
    [-1] => https://github.global.ssl.fastly.net/images/icons/emoji/-1.png?v5
    [100] => https://github.global.ssl.fastly.net/images/icons/emoji/100.png?v5
    [1234] => https://github.global.ssl.fastly.net/images/icons/emoji/1234.png?v5
    [8ball] => https://github.global.ssl.fastly.net/images/icons/emoji/8ball.png?v5
    [a] => https://github.global.ssl.fastly.net/images/icons/emoji/a.png?v5
    ...
)

```

License
-------

[](#license)

The MIT License (MIT)

Copyright (c) 2014 Miloslav Hůla

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

63

—

FairBetter than 99% of packages

Maintenance69

Regular maintenance activity

Popularity47

Moderate usage in the ecosystem

Community31

Small or concentrated contributor base

Maturity90

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 92.2% 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 ~200 days

Recently: every ~362 days

Total

22

Last Release

176d ago

Major Versions

v1.x-dev → v2.0.02021-12-04

PHP version history (6 changes)v1.0.0PHP &gt;=5.4.0

v2.0.0PHP &gt;=8.0 &lt;8.2

v2.0.1PHP &gt;=8.0 &lt;8.3

v2.0.2PHP &gt;=8.0 &lt;8.4

v2.0.3PHP &gt;=8.0 &lt;8.5

v2.0.4PHP 8.0 - 8.5

### Community

Maintainers

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

---

Top Contributors

[![milo](https://avatars.githubusercontent.com/u/439140?v=4)](https://github.com/milo "milo (83 commits)")[![dg](https://avatars.githubusercontent.com/u/194960?v=4)](https://github.com/dg "dg (5 commits)")[![CaptainWalters](https://avatars.githubusercontent.com/u/14040602?v=4)](https://github.com/CaptainWalters "CaptainWalters (1 commits)")[![CyberShadow](https://avatars.githubusercontent.com/u/160894?v=4)](https://github.com/CyberShadow "CyberShadow (1 commits)")

### Embed Badge

![Health badge](/badges/milo-github-api/health.svg)

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

PHPackages © 2026

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