PHPackages                             ryinner/githubinfo - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ryinner/githubinfo

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ryinner/githubinfo
==================

simple package for get info from git

1.0.0(2y ago)04.3k↓50%MITPHP

Since Apr 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ryinner/githubinfo)[ Packagist](https://packagist.org/packages/ryinner/githubinfo)[ RSS](/packages/ryinner-githubinfo/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Info
====

[](#info)

This is a simple package for get information from git.

Informer uses local command invocation to get information about the repository. It just run shell scripts and clean messages by regexp.

---

Functions:

- `(new Informer)->getConfigUsername` - `git config user.name`, return string;
- `(new Informer)->getCurrentBranch` - `git branch` + regexp, return string;
- `(new Informer)->getLastCommitHashByOriginBranch` - `git ls-remote --heads origin` + regexp, return string;

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

774d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/87421596?v=4)[Ryinner](/maintainers/ryinner)[@ryinner](https://github.com/ryinner)

---

Top Contributors

[![ryinner](https://avatars.githubusercontent.com/u/87421596?v=4)](https://github.com/ryinner "ryinner (6 commits)")

---

Tags

gitgit-infophp

### Embed Badge

![Health badge](/badges/ryinner-githubinfo/health.svg)

```
[![Health](https://phpackages.com/badges/ryinner-githubinfo/health.svg)](https://phpackages.com/packages/ryinner-githubinfo)
```

PHPackages © 2026

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