2017 © Pedro Peláez
 

library git-changelog

Changelog generator from git log history

image

cshekharsharma/git-changelog

Changelog generator from git log history

  • Monday, March 19, 2018
  • by cshekharsharma
  • Repository
  • 1 Watchers
  • 0 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 5 % Grown

The README.md

Git Change Log

A simple PHP library for generating changelog file by parsing git log history., (*1)

Latest Stable Version Minimum PHP Version Build Status License, (*2)

git-changelog parses the git history at provided working directory within the duration of start date and end date, and generates change logs., (*3)

Changelogs can be generated in following output formats, by setting output format property while generating logs. - Markdown (Standard MD format) - Remarkup (See Phabricator remarkup guide) - HTML - JSON, (*4)

Commit format

git-changelog expects commits to be in following format-, (*5)

type : commit-message, (*6)

Type can be one of the following values- - fix - feature - general - security, (*7)

if commit message does not follow this format, or the provided type is other than the provided 4 types, then the commit message is categories under general type., (*8)

Installation

Install the latest version with, (*9)

$ composer require cshekharsharma/git-changelog

Basic Usage

<?php

use GitChangeLog\Constants;

require_once '../vendor/autoload.php';

$generator = new \GitChangeLog\ChangeLogGenerator();

$generator->setStartDate('2018-01-01');
$generator->setEndDate('2018-04-01');
$generator->setWorkingDir('/path/to/git/repository');

$generator->setOutputFormat(Constants::OUTPUT_FORMAT_MARKDOWN);

$changelogs = $generator->generate();

Third Party Packages

No third party packages is used in git-changelog., (*10)

About

Requirements

  • git-changelog works with PHP 5.5 or above.

Author

Chandra Shekhar Sharma shekharsharma705@gmail.com, (*11)

License

git-changelog is licensed under the MIT License - see the LICENSE file for details, (*12)

The Versions

19/03 2018

dev-master

9999999-dev

Changelog generator from git log history

  Sources   Download

MIT

The Requires

  • php >=5.5.0
  • ext-json *

 

by Chandra Shekhar Sharma

changelog gittools

18/03 2018

v1.0.0

1.0.0.0

Changelog generator from git log history

  Sources   Download

MIT

The Requires

  • php >=5.5.0
  • ext-json *

 

by Chandra Shekhar Sharma

changelog gittools