A parser, written in PHP, for logs generated by git log
You can install it by cloning the git repository or using composer.
git clone https://github.com/tivie/php-git-log-parser.git
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
To parse the current git repository log, you can simply
$parser = new \Tivie\GitLogParser\Parser();
$logArray = $parser->parse();
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.