PHPackages                             kern046/changelog-parser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. kern046/changelog-parser

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kern046/changelog-parser
========================

PHP library used to parse a CHANGELOG.md file and return JSON output

v0.1.2(10y ago)106.3k3[1 issues](https://github.com/Kern046/changelog-parser/issues)[1 PRs](https://github.com/Kern046/changelog-parser/pulls)1MITPHPPHP &gt;=5.5.0

Since Mar 1Pushed 3y ago2 watchersCompare

[ Source](https://github.com/Kern046/changelog-parser)[ Packagist](https://packagist.org/packages/kern046/changelog-parser)[ RSS](/packages/kern046-changelog-parser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (1)

Changelog Parser
================

[](#changelog-parser)

[![Latest Stable Version](https://camo.githubusercontent.com/68e1adb157c2f79a0d0313cb76117e4eeefee4f759f5506351ed4688f05fa9d6/68747470733a2f2f706f7365722e707567782e6f72672f6b65726e3034362f6368616e67656c6f672d7061727365722f762f737461626c65)](https://packagist.org/packages/kern046/changelog-parser)[![Latest Unstable Version](https://camo.githubusercontent.com/8991750e0db2c0183949424cd2f1756255cbbed49addec6bbc64f2664c5c20f1/68747470733a2f2f706f7365722e707567782e6f72672f6b65726e3034362f6368616e67656c6f672d7061727365722f762f756e737461626c65)](https://packagist.org/packages/kern046/changelog-parser)[![Build Status](https://camo.githubusercontent.com/496a194ad1d90e11e89448f65d9ae46d715e3299b615bed0a8d0aa2df1d52c25/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4b65726e3034362f6368616e67656c6f672d7061727365722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Kern046/changelog-parser/build-status/master)[![Code Coverage](https://camo.githubusercontent.com/551049c4aee375fc2a89b93cfa886ff561842f4beb57607f9d297df5958519a8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4b65726e3034362f6368616e67656c6f672d7061727365722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Kern046/changelog-parser/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b27c6e45f072f70877cddffe52488bd08c873081f7f09c6cf559a5597b4769ae/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4b65726e3034362f6368616e67656c6f672d7061727365722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Kern046/changelog-parser/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/f2caded8ee714a4f30881eeaebdf622ccc0537d6125fa7e23cda4f51c73d2868/68747470733a2f2f706f7365722e707567782e6f72672f6b65726e3034362f6368616e67656c6f672d7061727365722f646f776e6c6f616473)](https://packagist.org/packages/kern046/changelog-parser)[![License](https://camo.githubusercontent.com/2f43722bfbbec2d37309ab8a43a281654fd5a5df93afb70dc72db82f460b834a/68747470733a2f2f706f7365722e707567782e6f72672f6b65726e3034362f6368616e67656c6f672d7061727365722f6c6963656e7365)](https://packagist.org/packages/kern046/changelog-parser)

Introduction
------------

[](#introduction)

This library is meant to parse changelog files and convert its data to different formats.

It would be used to get dynamically data from a changelog file to inform users about the different versions and their changes.

With this library it is easy to use changelog data in any way.

Installation
------------

[](#installation)

You can use composer to set the library as your project dependency

```
composer require kern046/changelog-parser
```

Usage
-----

[](#usage)

To use this library, you can create an instance of the changelog manager

```
use ChangelogParser\Manager\ChangelogManager;

$changelogManager = new ChangelogManager();
```

To get the last version data of your changelog file, write the following code :

```
// The second parameter is optional, default is 'json'
$changelogManager->getLastVersion('CHANGELOG.md', 'json');
```

To get all data contained in the changelog file, use the following method :

```
// The second parameter is optional, default is 'json'
$changelogManager->getAllVersions('CHANGELOG.md', 'json');
```

The results of these functions are cached.

The default cache validity time is one hour.

You can modify it using the following way :

```
$cacheManager = $changelogManager->getCacheManager();
// The first argument is the validity time in seconds
// In the current example, the cache validity time is one day
$cacheManager->setCacheTime(60 * 60 * 24);
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

3720d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae0ca158e8c1fff544d39e6e8f029fdc6a2453b16d7a9eb64b7d25f382123758?d=identicon)[Kern](/maintainers/Kern)

---

Top Contributors

[![Kern046](https://avatars.githubusercontent.com/u/6918102?v=4)](https://github.com/Kern046 "Kern046 (60 commits)")

---

Tags

versionchangelog

### Embed Badge

![Health badge](/badges/kern046-changelog-parser/health.svg)

```
[![Health](https://phpackages.com/badges/kern046-changelog-parser/health.svg)](https://phpackages.com/packages/kern046-changelog-parser)
```

###  Alternatives

[pyrech/composer-changelogs

Display changelogs after each composer update

5904.0M25](/packages/pyrech-composer-changelogs)[pragmarx/version

Take control over your Laravel app version

5921.2M2](/packages/pragmarx-version)[nikolaposa/version

Value Object that represents a SemVer-compliant version number.

1406.4M16](/packages/nikolaposa-version)[liip/rmt

Release Management Tool: a handy tool to help releasing new version of your software

457448.7k73](/packages/liip-rmt)[marcocesarato/php-conventional-changelog

Generate changelogs and release notes from a project's commit messages and metadata and automate versioning with semver.org and conventionalcommits.org

2511.3M107](/packages/marcocesarato-php-conventional-changelog)[wolfcast/browser-detection

The Wolfcast BrowserDetection PHP class facilitates the identification of the user's environment such as Web browser, version, platform family, platform version or if it's a mobile device or not.

1391.0M7](/packages/wolfcast-browser-detection)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
