churchtools/changelogger
Composer 安装命令:
composer require churchtools/changelogger
包简介
CLI Tool for creating consistent and committable changelog entries.
README 文档
README
Changeloggger is a CLI tool to help you create better changelogs
At ChurchTools we develop a SaaS. To keep our users informed, we write changelogs for every version. We used to add our changelogs to the issue, but many times we forgot to add the changelog—and manual copy 'n' paste is tedious work! This tool helps us to write and create consistent changelogs that are committable so the reviewer can check it before merging.
What does it do?
Changelogger saves each log entry as a YAML file in changelogs/unreleased. During the development process many files from different features, bug fixes, and so on find their way into this folder.
We create for each change a different file to easily track them. Adding them to a single file, like Changelog.md directly could lead to nasty merge conflicts. One file per change avoids that.
In the end, if a new version is built, Changelogger takes all unreleased changes, sorts them and adds a new release to CHANGELOG.md. After that all files in changelogs/unreleased are deleted and your project is ready for the next version.
Changelogger is not taking your git-logs. There exists many tools that take your git-log and converts commit messages to changelog entries. IMHO, this leads in many cases to bad changelogs. Commit messages are not changelogs. They are pieces of information for developers and not the users. Our changelogs are handcrafted because non-developers, AKA our users, should be able to understand the changes.
Demo
Installation
This package requires PHP 8.1 You can require the package as a dev-dependency
composer require --dev churchtools/changelogger
or install it globally.
composer global require churchtools/changelogger
Usage
# To add a new changelog use `new`. changelogger new # When a new version is released run `release` to generate the changelog. # The <tag> is the version number or build number of the release. changelogger release <tag> # Need to start over? Run `clean` to remove all unreleased logs. changelogger clean
AI Agent Skills
Changelogger ships with Amp Skills that teach AI coding agents how to use Changelogger correctly. Copy the skill directories into your project to enable your AI agent to create changelog entries and releases automatically.
# Copy the skills into your project
cp -r .agents/skills/using-changelogger /path/to/your-project/.agents/skills/
cp -r .agents/skills/releasing-with-changelogger /path/to/your-project/.agents/skills/
| Skill | Description |
|---|---|
using-changelogger |
Teaches the agent to create changelog entries with changelogger new |
releasing-with-changelogger |
Teaches the agent to create releases with changelogger release |
License
churchtools/changelogger is licensed under the Apache License 2.0
churchtools/changelogger 适用场景与选型建议
churchtools/changelogger 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 15.31k 次下载、GitHub Stars 达 34, 最近一次更新时间为 2019 年 08 月 01 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「cli」 「console」 「changelog」 「keepachangelog」 「churchtools」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 churchtools/changelogger 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 churchtools/changelogger 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 churchtools/changelogger 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
This class provides you with an easy-to-use interface to progress bars.
A Laravel package to retrieve data from Google Search Console
Additional artisan commands for Laravel
A Deployment/Change Log Schedule and Notes system for SilverStripe sites
A table generator class for the PHP CLI.
Package to enable change logs to be parsed
统计信息
- 总下载量: 15.31k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 34
- 点击次数: 19
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2019-08-01

