php-git-log-parser icon indicating copy to clipboard operation
php-git-log-parser copied to clipboard

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

PHP Git Log Parser SensioLabsInsight

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.