PHPackages                             tivie/php-git-log-parser - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. tivie/php-git-log-parser

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

tivie/php-git-log-parser
========================

A parser for logs generated by git log

0.1.4(11y ago)1853.9k↓13.6%8[1 PRs](https://github.com/tivie/php-git-log-parser/pulls)APACHE 2.0PHPPHP &gt;=5.3.0

Since Dec 28Pushed 6y ago2 watchersCompare

[ Source](https://github.com/tivie/php-git-log-parser)[ Packagist](https://packagist.org/packages/tivie/php-git-log-parser)[ RSS](/packages/tivie-php-git-log-parser/feed)WikiDiscussions master Synced 1mo ago

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

PHP Git Log Parser [![SensioLabsInsight](https://camo.githubusercontent.com/390e0e4711de33da70f0bda9f8ceeb945f9947cffc3a9f730796ca006136c8ba/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f30383963633331302d333230332d343663332d623362612d3463376462366532373239302f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/089cc310-3203-46c3-b3ba-4c7db6e27290)
=========================================================================================================================================================================================================================================================================================================================================================================================================

[](#php-git-log-parser-)

[![Build Status](https://camo.githubusercontent.com/42ff248516aabc482a4664b13a3438352e7cc81a95ec86b301d07fcb00d7f334/68747470733a2f2f7472617669732d63692e6f72672f74697669652f7068702d6769742d6c6f672d7061727365722e737667)](https://travis-ci.org/tivie/php-git-log-parser)[![Latest Stable Version](https://camo.githubusercontent.com/ac7b46296ec543bdc0edac65a91f85ec9c739eef710e585af8ca442b76f50790/68747470733a2f2f706f7365722e707567782e6f72672f74697669652f7068702d6769742d6c6f672d7061727365722f762f737461626c652e737667)](https://packagist.org/packages/tivie/php-git-log-parser)[![License](https://camo.githubusercontent.com/f71181feb3415572dbf4d883becb3d53b948a847b4113b03053eb83f6f2f92bc/68747470733a2f2f706f7365722e707567782e6f72672f74697669652f7068702d6769742d6c6f672d7061727365722f6c6963656e73652e737667)](https://packagist.org/packages/tivie/php-git-log-parser)[![SensioLabsInsight](https://camo.githubusercontent.com/2c84cbb0f1dafc0233ef3215ae2df00c0277591565f312ff2a9d64d24bb8f7f0/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f30383963633331302d333230332d343663332d623362612d3463376462366532373239302f6d696e692e706e67)](https://insight.sensiolabs.com/projects/089cc310-3203-46c3-b3ba-4c7db6e27290)

A parser, written in PHP, for logs generated by git log

Installation
------------

[](#installation)

You can install it by cloning the git repository or using composer.

### Git clone

[](#git-clone)

```
git clone https://github.com/tivie/php-git-log-parser.git

```

### Composer

[](#composer)

Add these lines to your composer.json:

```
    {
        "require": {
            "tivie/php-git-log-parser": "*"
        }
    }
```

or run the following command:

```
php composer.phar require tivie/php-git-log-parser

```

Quick guide
-----------

[](#quick-guide)

To parse the current git repository log, you can simply

```
$parser = new \Tivie\GitLogParser\Parser();
$logArray = $parser->parse();
```

License
-------

[](#license)

PHP Git Log Parser is released under Apache 2.0 license. For more information, please consult the [LICENSE](https://github.com/tivie/php-git-log-parser/blob/master/LICENSE) file in this repository or .

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.2% 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

3

Last Release

4159d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1f735d8fb97242e69e2da4cd77f5a98114b307e042d91c9316803243744d9f7e?d=identicon)[Tivie](/maintainers/Tivie)

---

Top Contributors

[![tivie](https://avatars.githubusercontent.com/u/1608730?v=4)](https://github.com/tivie "tivie (25 commits)")[![msti](https://avatars.githubusercontent.com/u/808110?v=4)](https://github.com/msti "msti (1 commits)")

---

Tags

devgittoolsgit log

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tivie-php-git-log-parser/health.svg)

```
[![Health](https://phpackages.com/badges/tivie-php-git-log-parser/health.svg)](https://phpackages.com/packages/tivie-php-git-log-parser)
```

###  Alternatives

[carthage-software/mago

Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.

3.0k589.5k154](/packages/carthage-software-mago)[mck89/peast

Peast is PHP library that generates AST for JavaScript code

18934.7M29](/packages/mck89-peast)[projektgopher/whisky

A simple CLI tool for managing a project's git hooks across multiple members.

241281.3k20](/packages/projektgopher-whisky)[jakoch/nginx-conf

A Nginx Conf parser and generator.

111.5k](/packages/jakoch-nginx-conf)

PHPackages © 2026

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