Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.65 KB

README.md

File metadata and controls

39 lines (30 loc) · 1.65 KB

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.