PHPackages                             noclued/githelper - 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. noclued/githelper

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

noclued/githelper
=================

Helper for git extra info like 'get file names changed in last two commits', 'get new lines from last two commits', etc. You need to have accessable git!

1.2(6y ago)028.6k↑22.5%1MITPHP

Since Jun 13Pushed 6y agoCompare

[ Source](https://github.com/noclued/githelper)[ Packagist](https://packagist.org/packages/noclued/githelper)[ RSS](/packages/noclued-githelper/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)DependenciesVersions (4)Used By (1)

Its a simple lib for git. You need to have git available on host. Offers three methods (atm):

`getFileNamesChangedSince(int $commits = 1)` which will return file names of changed files since N commits

`getLineAddedToFileSince(string $fileName, int $commits = 1)` which will return content of lines ADDED since N commits

`public function getLinesRemovedFromFileSince(string $fileName, int $commits = 1)` which will return content of lines REMOVED since N commits

Constructor will check if git is available and check if given path is a git repo.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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 ~20 days

Total

3

Last Release

2537d ago

### Community

Maintainers

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

---

Top Contributors

[![KonradKosowski](https://avatars.githubusercontent.com/u/17218923?v=4)](https://github.com/KonradKosowski "KonradKosowski (3 commits)")

### Embed Badge

![Health badge](/badges/noclued-githelper/health.svg)

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

PHPackages © 2026

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