PHPackages                             davahome/github-client - 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. davahome/github-client

ActiveLibrary[API Development](/categories/api)

davahome/github-client
======================

06PHP

Since Jan 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/DavaHome/github-client)[ Packagist](https://packagist.org/packages/davahome/github-client)[ RSS](/packages/davahome-github-client/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#github-php-api)

Provides functionality for communication with the github using php.

A possible usage of this is the implementation a github api based self-update functionality (for private repositories)

Installation
============

[](#installation)

```
php composer.phar require davahome/github-php-api
```

Usage
=====

[](#usage)

```
use DavaHome\GithubApi\AssetFileDownloader;

$assetFileDownloader = new AssetFileDownloader('davahome', 'github-api', '');

// Display some release information (optional)
$releaseInformation = $assetFileDownloader->getReleaseInformation();
$date = new \DateTime($releaseInformation['published_at']);
echo 'Version: ', $releaseInformation['tag_name'], PHP_EOL;
echo 'Published: ', $date->format('Y-m-d H:i:s'), PHP_EOL;

// Download the asset
$fileContent = $assetFileDownloader->downloadAsset('file.phar');
file_put_contents('file.phar', $fileContent);
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![thedava](https://avatars.githubusercontent.com/u/7238710?v=4)](https://github.com/thedava "thedava (11 commits)")

---

Tags

clientgithubphp

### Embed Badge

![Health badge](/badges/davahome-github-client/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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