PHPackages                             bramdevries/changelog - 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. bramdevries/changelog

ActiveLibrary

bramdevries/changelog
=====================

A http://keepachangelog.com/ parser for the common developer

0.12.0(5y ago)2010.4k↓100%3[1 issues](https://github.com/bramdevries/changelog/issues)[1 PRs](https://github.com/bramdevries/changelog/pulls)MITPHPPHP &gt;=7.4CI failing

Since Nov 22Pushed 3y ago3 watchersCompare

[ Source](https://github.com/bramdevries/changelog)[ Packagist](https://packagist.org/packages/bramdevries/changelog)[ RSS](/packages/bramdevries-changelog/feed)WikiDiscussions develop Synced today

READMEChangelog (10)Dependencies (4)Versions (21)Used By (0)

Changelog
=========

[](#changelog)

> Parse changelogs like a pro

This package makes it easy to parse change logs in the [keepachangelog.com](http://keepachangelog.com/) format

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

[](#installation)

`composer require bramdevries/changelog`

Usage
-----

[](#usage)

### Parsing an entire change log

[](#parsing-an-entire-change-log)

The following change log:

```
# Change Log
A change log for the change log parser

## 0.2.0 - 2014-11-22

### Added

* `getChanges` method to retrieve a single release

## 0.1.0 - 2014-11-22

### Added

* `getReleases` method that retrieves the releases described in a change log
* `toJson` method that creates a json representation of a change log.
```

```
$parser = new Changelog\Parser(file_get_contents('CHANGELOG.md');
echo $parser->toJson();
```

Will return

```
{
  "description": "A change log for the change log parser",
  "releases": [
    {
      "name": "0.0.1",
      "date": "2014-11-22",
      "changes": {
        "added": [
          "getReleases method that retrieves the releases described in a change log",
          "toJson method that creates a json representation of a change log."
        ]
      }
    }
  ]
}
```

### Parsing a single release's changelog

[](#parsing-a-single-releases-changelog)

eg: If you want to parse a pull request in this format

```
  ### Added
  - Addition 1
  - Addition 2

  ### Changed
  - Change 1
  - Change 2

  ### Removed
  - Removal 1
  - Removal 2
```

```
// Assuming $content contains the above markdown
$parser = new Changelog\Parser($content);
echo $parser->getChanges();
```

returns

```
{
  "added": [
    "Addition 1",
    "Addition 2"
  ],
  "changed": [
    "Change 1",
    "Change 2"
  ],
  "removed": [
    "Removal 1",
    "Removal 2"
  ]
}
```

###  Health Score

35

↑

LowBetter than 81% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 96.2% 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 ~151 days

Recently: every ~465 days

Total

16

Last Release

1873d ago

PHP version history (3 changes)0.4.0PHP &gt;=5.4.0

0.10.0PHP &gt;=7.1.3

0.11.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/041cdc8fc831716b7f56c3ddf84169ea1d97ca91e9ea90b42be88d73c404ff8a?d=identicon)[bramdevries](/maintainers/bramdevries)

---

Top Contributors

[![bramdevries](https://avatars.githubusercontent.com/u/1002245?v=4)](https://github.com/bramdevries "bramdevries (75 commits)")[![WouterSioen](https://avatars.githubusercontent.com/u/1398405?v=4)](https://github.com/WouterSioen "WouterSioen (2 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

### Embed Badge

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

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

###  Alternatives

[alleyinteractive/mantle-framework

A framework for powerful WordPress development

27224.8k2](/packages/alleyinteractive-mantle-framework)[chameleon-system/chameleon-base

The Chameleon System core.

1025.9k2](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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