PHP code example of cshekharsharma / git-changelog
1. Go to this page and download the library: Download cshekharsharma/git-changelog library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
cshekharsharma / git-changelog example snippets
use GitChangeLog\Constants;
ngeLogGenerator();
$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();