PHP code example of bramdevries / changelog

1. Go to this page and download the library: Download bramdevries/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/ */

    

bramdevries / 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();