PHPackages                             chancegarcia/git-toolkit - 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. chancegarcia/git-toolkit

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

chancegarcia/git-toolkit
========================

create a change log based on your commit history and tags

1.1.1(5y ago)07[2 PRs](https://github.com/chancegarcia/git-toolkit/pulls)MITPHPPHP &gt;=7.3

Since Feb 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/chancegarcia/git-toolkit)[ Packagist](https://packagist.org/packages/chancegarcia/git-toolkit)[ Docs](https://github.com/chancegarcia/git-toolkit)[ RSS](/packages/chancegarcia-git-toolkit/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (8)Versions (8)Used By (0)

Git Toolkit
===========

[](#git-toolkit)

[![Build Status](https://camo.githubusercontent.com/bb1b8b3cbe4abeabe79ec90c6700cb567bdddaa7abb6fdb4ae3e0ea99c0ac729/68747470733a2f2f7472617669732d63692e636f6d2f6368616e63656761726369612f6769742d746f6f6c6b69742e7376673f6272616e63683d6d61696e)](https://travis-ci.com/chancegarcia/git-toolkit) [![Latest Stable Version](https://camo.githubusercontent.com/880d06470404c127c759ff3c0e261081f4a481c9bf8d2aad558ae2b10b823f83/68747470733a2f2f706f7365722e707567782e6f72672f6368616e63656761726369612f6769742d746f6f6c6b69742f76)](//packagist.org/packages/chancegarcia/git-toolkit) [![Total Downloads](https://camo.githubusercontent.com/1890b953703612ceb08fdd1388c0d3276a51add5178295b41837274a186bce23/68747470733a2f2f706f7365722e707567782e6f72672f6368616e63656761726369612f6769742d746f6f6c6b69742f646f776e6c6f616473)](//packagist.org/packages/chancegarcia/git-toolkit) [![Latest Unstable Version](https://camo.githubusercontent.com/e240cf2744f0810448b28080ecf6a04c2d1bc0805326575767cfa47fba69a431/68747470733a2f2f706f7365722e707567782e6f72672f6368616e63656761726369612f6769742d746f6f6c6b69742f762f756e737461626c65)](//packagist.org/packages/chancegarcia/git-toolkit) [![License](https://camo.githubusercontent.com/2a938846465700730913f04f597ff292277077388a2c97e0f3840be8f3c42ac0/68747470733a2f2f706f7365722e707567782e6f72672f6368616e63656761726369612f6769742d746f6f6c6b69742f6c6963656e7365)](//packagist.org/packages/chancegarcia/git-toolkit)

develop branch:

[![Build Status](https://camo.githubusercontent.com/9264d79acb2a5d5fff9f6f54f6f787e7bfc58ef7cf451e6d1110a47bc37a27c3/68747470733a2f2f7472617669732d63692e636f6d2f6368616e63656761726369612f6769742d746f6f6c6b69742e7376673f6272616e63683d646576656c6f70)](https://travis-ci.com/chancegarcia/git-toolkit)

---

This toolkit only contains one tool currently. That tool will create a `changelog.md` for a project using the git repository tags and the git commit history.

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

[](#installation)

```
    composer require --dev chancegarcia/git-toolkit

```

General Usage
-------------

[](#general-usage)

Unless specified in a config file, the repository found in the current working directory will be used.

Configuration (optional)
------------------------

[](#configuration-optional)

Default values for some command arguments and options can be set via a config file in

`config/chancegarcia_git_toolkit.php`

A `.dist` file provides an example of configuration options.

The following values are configurable:

- `project_root`: the directory where the repository resides
- `project_name`: The main header value
- `filename`: name of the markdown file to write out.
- `output_directory`: path to where the markdown file should be written

ChangeLog Command Usage
-----------------------

[](#changelog-command-usage)

```
    ./vendor/bin/toolkit toolkit:changelog toolkit:changelog

```

The changelog file will produce a **markdown** document with a main header (optionally set by the header argument) of `Projecty McProjectFace`. Tag names are the subheaders and the commits between the tags are printed after the subheader

While you can run the base command, without a header argument, to produce a changelog, you might want to pass the a main header argument with it. Unless you really want to have the top header be `Projecty McProjectFace` (totally not judging) .

```
    ./vendor/bin/toolkit toolkit:changelog toolkit:changelog "I am not a cat."

```

### Prepare a new or initial release tag/number

[](#prepare-a-new-or-initial-release-tagnumber)

If no tags are present. The subheader will be the commit id.

In order to "create" a new tag, use the `--new-tag=` to set the new header and write all recent commits since the previous tag (if there is one) into the changelog.

```
    ./vendor/chancegarcia/git-toolkit/bin/toolkit toolkit:changelog "We Love Kittens" --new-tag="1.0.0"

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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 ~1 days

Total

4

Last Release

1903d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6da225b703a123deac986a29c01b0dbda6d27d036c17ae04cbcffbe0fc2a3294?d=identicon)[chance](/maintainers/chance)

---

Top Contributors

[![chancegarcia](https://avatars.githubusercontent.com/u/348263?v=4)](https://github.com/chancegarcia "chancegarcia (66 commits)")

---

Tags

commit historygit tagschange log

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/chancegarcia-git-toolkit/health.svg)

```
[![Health](https://phpackages.com/badges/chancegarcia-git-toolkit/health.svg)](https://phpackages.com/packages/chancegarcia-git-toolkit)
```

###  Alternatives

[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)[phel-lang/phel-lang

Phel is a functional programming language that compiles to PHP

4743.5k10](/packages/phel-lang-phel-lang)[symfony/ai-bundle

Integration bundle for Symfony AI components

30282.3k6](/packages/symfony-ai-bundle)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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