PHPackages                             tjvb/githash - 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. tjvb/githash

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

tjvb/githash
============

Get the current git hash from your project.

1.5.0(3mo ago)318.4k↓50%1MITPHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

Since Oct 14Compare

[ Source](https://gitlab.com/tjvb/githash)[ Packagist](https://packagist.org/packages/tjvb/githash)[ GitHub Sponsors](https://github.com/sponsors/TJVB)[ GitHub Sponsors](https://github.com/sponsors/tvbeek/)[ RSS](/packages/tjvb-githash/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (10)Versions (8)Used By (1)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://gitlab.com/tjvb/githash).

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance79

Regular maintenance activity

Popularity29

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity72

Established project with proven stability

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

Recently: every ~379 days

Total

6

Last Release

112d ago

PHP version history (6 changes)1.0.0PHP ^8.0

1.1.0PHP ^8.0 || ^8.1

1.2.0PHP ^8.0 || ^8.1 || ^8.2

1.3.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0

1.4.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

1.5.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3fbe657598caaf858baa139407dce90e620249cde46a9d1bc4cfa21a2d2a3759?d=identicon)[TJVB](/maintainers/TJVB)

---

Tags

hashtjvbgithash

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tjvb-githash/health.svg)

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

###  Alternatives

[hashids/hashids

Generate short, unique, non-sequential ids (like YouTube and Bitly) from numbers

5.4k48.6M278](/packages/hashids-hashids)[torann/hashids

Laravel package for Hashids

54335.1k](/packages/torann-hashids)[delight-im/ids

Short, obfuscated and efficient IDs for PHP

289.5k1](/packages/delight-im-ids)[light/hashids

Hashids for Yii2

1120.2k](/packages/light-hashids)[bvdputte/kirby-fingerprint

Cache-busting utility to fingerprint assets (JS/CSS) in Kirby 3

1610.0k](/packages/bvdputte-kirby-fingerprint)[paragonie/blakechain

Hash chain using BLAKE2b

242.9k3](/packages/paragonie-blakechain)

PHPackages © 2026

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