PHP code example of nystudio107 / changelog
1. Go to this page and download the library: Download nystudio107/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/ */
nystudio107 / changelog example snippets
$parser = new Changelog\Parser(file_get_contents('CHANGELOG.md');
echo $parser->toJson();
// Assuming $content contains the above markdown
$parser = new Changelog\Parser($content);
echo $parser->getChanges();