PHPackages                             caherrera/gitinfo - 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. caherrera/gitinfo

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

caherrera/gitinfo
=================

1.0.4(6y ago)024MITPHPPHP ^7.1.3

Since Aug 21Pushed 6y ago1 watchersCompare

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

READMEChangelogDependencies (4)Versions (6)Used By (0)

GitInfo a Symfony Console application to obtaining git information about a folder
=================================================================================

[](#gitinfo-a-symfony-console-application-to-obtaining-git-information-about-a-folder)

[![Build Status](https://camo.githubusercontent.com/9d32bb6d4594034ed3864572f27d49b090f806cf8599d218a8648e9fefdc910b/68747470733a2f2f7472617669732d63692e6f72672f6361686572726572612f676974696e666f2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/caherrera/gitinfo)

[![Latest Stable Version](https://camo.githubusercontent.com/743bcb1026ac3c153f50c0cadbc57d6da9ec01672108261dd0a07c3dd34f69d9/68747470733a2f2f706f7365722e707567782e6f72672f6361686572726572612f676974696e666f2f762f737461626c65)](https://packagist.org/packages/caherrera/gitinfo)[![Total Downloads](https://camo.githubusercontent.com/fd867bbf416caa6feaae17588dc228bf6a5ae0f205e3a38277dfc847318abf0d/68747470733a2f2f706f7365722e707567782e6f72672f6361686572726572612f676974696e666f2f646f776e6c6f616473)](https://packagist.org/packages/caherrera/gitinfo)[![Latest Unstable Version](https://camo.githubusercontent.com/52960d0e8a680964011e66305e8099619405eebe8e1773796781459314eab59f/68747470733a2f2f706f7365722e707567782e6f72672f6361686572726572612f676974696e666f2f762f756e737461626c65)](https://packagist.org/packages/caherrera/gitinfo)[![License](https://camo.githubusercontent.com/12e3d7da7455f18b5ac3d138a08c957444ae0153b27fe2d2bb63946a8aa2dde5/68747470733a2f2f706f7365722e707567782e6f72672f6361686572726572612f676974696e666f2f6c6963656e7365)](https://packagist.org/packages/caherrera/gitinfo)[![composer.lock](https://camo.githubusercontent.com/370e3b4b5348e0d291deecfb0a442e07b114fa9fe86adfef97f9654d1133c4c2/68747470733a2f2f706f7365722e707567782e6f72672f6361686572726572612f676974696e666f2f636f6d706f7365726c6f636b)](https://packagist.org/packages/caherrera/gitinfo)

This package provides an console application to obtain git information about a folder

Zero-config use
---------------

[](#zero-config-use)

If you don't need any custom completion behaviour, you can simply add the completion command to your application:

1. Install `caherrera/gitinfo` using [composer](https://getcomposer.org/) by running: ```
    $ composer global require caherrera/gitinfo

    ```

How it works
------------

[](#how-it-works)

for run type this command in any console

```
$ ~/vendor/caherrera/gitinfo/console [/path/to/scan]
```

### Example

[](#example)

```
$ ~/vendor/caherrera/gitinfo/console $(pwd)
{"commit":"a2986ed961f6aa628a647df9e8f04892c38480f3","hash":"a2986ed","created":"2019-08-21 19:21:45","author":"Carlos Herrera","email":"carlos.herrera@viajesfalabella.com","repository":"git@github.com:caherrera\/gitinfo.git","status":"[{\"file\":\"M\",\"status\":\"\"},{\"file\":\"M\",\"status\":\"\"}]","branch":"master","tag":"1.0.1","project":"gitinfo"}
```

this command will return a in json format

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Every ~0 days

Total

5

Last Release

2456d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18551113?v=4)[Carlos Herrera](/maintainers/caherrera)[@caherrera](https://github.com/caherrera)

---

Top Contributors

[![carlosherreradespegar](https://avatars.githubusercontent.com/u/53278814?v=4)](https://github.com/carlosherreradespegar "carlosherreradespegar (9 commits)")

---

Tags

toolgit

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/caherrera-gitinfo/health.svg)

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

###  Alternatives

[wnx/laravel-stats

Get insights about your Laravel Project

1.8k1.8M7](/packages/wnx-laravel-stats)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ramsey/conventional-commits

A PHP library for creating and validating commit messages according to the Conventional Commits specification. Includes a CaptainHook action!

1931.2M122](/packages/ramsey-conventional-commits)[overtrue/php-opencc

中文简繁转换，支持词汇级别的转换、异体字转换和地区习惯用词转换（中国大陆、台湾、香港、日本新字体）。基于 \[BYVoid/OpenCC\](https://github.com/BYVoid/OpenCC) 数据实现。

12130.7k](/packages/overtrue-php-opencc)[shyim/danger-php

Port of danger to PHP

8544.9k](/packages/shyim-danger-php)

PHPackages © 2026

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