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

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

claudiodekker/changelog-updater
===============================

A PHP package to programmatically update your changelog file.

v1.2.0(9mo ago)1315.5k↓50%1[1 issues](https://github.com/claudiodekker/changelog-updater/issues)MITPHPPHP ~8.2.0|~8.3.0|~8.4.0CI passing

Since Apr 11Pushed 9mo ago1 watchersCompare

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

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Changelog Updater
=================

[](#changelog-updater)

A PHP library to programmatically update changelogs based on the "Keep a Changelog" 1.0.0 format.

Usage
-----

[](#usage)

### GitHub Action

[](#github-action)

This library can be used as a GitHub Action to automatically update your changelog when a pull request is merged. You can [see an example of what this looks like here](https://github.com/claudiodekker/changelog-updater-example). To set up the GitHub Action, follow the steps below:

1. Create a new file in your repository at `.github/workflows/update_changelog.yml`
2. Copy the following content into the `update_changelog.yml` file:

    ```
    name: Update Changelog on PR Merge

    on:
      pull_request_target:
        types:
          - closed

    jobs:
      update-changelog:
        name: Update Changelog
        runs-on: ubuntu-latest
        if: github.event.pull_request.merged == true

        permissions:
          contents: write

        steps:
          - name: Checkout code
            uses: actions/checkout@v3
            with:
              ref: ${{ github.event.pull_request.base.ref }}
              fetch-depth: 0

          - name: Determine changelog section to update
            id: sections
            run: |
              section=""
              labels=$(echo '${{ toJSON(github.event.pull_request.labels.*.name) }}' | jq -r '.[]')
              for label in $labels; do
                lower_label=$(echo "$label" | tr '[:upper:]' '[:lower:]')
                case "$lower_label" in
                  enhancement|feature) section="Added"; break;;
                  bug|bugfix|fix|patch) section="Fixed"; break;;
                  change) section="Changed"; break;;
                  optimization|improvement|performance|refactor) section="Optimized"; break;;
                  deprecation|deprecated) section="Deprecated"; break;;
                  revert) section="Reverted"; break;;
                  removal) section="Removed"; break;;
                  security) section="Security"; break;;
                esac
              done

              if [ -z "$section" ]; then
                echo "No matching label found for changelog entry, skipping changelog update."
                exit 0
              else
                echo "section=$section" >> $GITHUB_OUTPUT
              fi

          - name: Add entry to CHANGELOG.md
            if: steps.sections.outputs.section != ''
            uses: claudiodekker/changelog-updater@master
            with:
              section: "${{ steps.sections.outputs.section }}"
              entry-text: "${{ github.event.pull_request.title }}"
              entry-link: "${{ github.event.pull_request.html_url }}"

          - name: Commit updated CHANGELOG
            if: steps.sections.outputs.section != ''
            uses: stefanzweifel/git-auto-commit-action@v4
            with:
              branch: ${{ github.event.pull_request.base.ref }}
              commit_message: "Update CHANGELOG.md w/ PR #${{ github.event.pull_request.number }}"
              file_pattern: CHANGELOG.md
    ```
3. Commit and push the file to your repository.

Once done, the GitHub Action will automatically update your changelog when a pull request with a matching label is merged.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance56

Moderate activity, may be stable

Popularity31

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 97.4% 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 ~427 days

Total

3

Last Release

280d ago

PHP version history (3 changes)v1.0.0PHP ~8.2.0

v1.1.0PHP ~8.2.0|~8.3.0

v1.2.0PHP ~8.2.0|~8.3.0|~8.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/83b54b11203100de300a7750f14ad6deed6dc364ba6854d1e992b4c65f4db846?d=identicon)[claudiodekker](/maintainers/claudiodekker)

---

Top Contributors

[![claudiodekker](https://avatars.githubusercontent.com/u/1752195?v=4)](https://github.com/claudiodekker "claudiodekker (38 commits)")[![jasonleenaylor](https://avatars.githubusercontent.com/u/2295227?v=4)](https://github.com/jasonleenaylor "jasonleenaylor (1 commits)")

---

Tags

changelogmanagermodifierupdaterphpmanagerchangelogupdatermodify

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[monicahq/laravel-cloudflare

Add Cloudflare ip addresses to trusted proxies for Laravel.

3372.7M4](/packages/monicahq-laravel-cloudflare)[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.3M109](/packages/marcocesarato-php-conventional-changelog)[kra8/laravel-snowflake

Snowflake for Laravel and Lumen.

188402.3k6](/packages/kra8-laravel-snowflake)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[napp/xray-laravel

AWS X-Ray for Laravel applications.

61407.3k](/packages/napp-xray-laravel)

PHPackages © 2026

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