tivie/php-git-log-parser

A parser for logs generated by git log

0.1.4 2014-12-29 04:55 UTC

This package is not auto-updated.

Last update: 2024-12-21 17:47:51 UTC


README

Build Status Latest Stable Version License SensioLabsInsight

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

Installation

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

Git clone

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

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

To parse the current git repository log, you can simply

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

License

PHP Git Log Parser is released under Apache 2.0 license. For more information, please consult the LICENSE file in this repository or http://www.apache.org/licenses/LICENSE-2.0.txt.