razvanbackpack/clgview
最新稳定版本:v0.1.1
Composer 安装命令:
composer require razvanbackpack/clgview
包简介
A simple script to display changelog nicely. In PHP.
README 文档
README
A simple php script that parses and displays changelog files.
Example:
# v0.1.0
## added
- Reads changelog file
- Parses it
- Headers and list items separately
- List items support multiple indentations
## removed
- Old demo image, was dumb
## changed
- Old readme, was dumb
changelog.md
require __DIR__ . '/../vendor/autoload.php';
use ClgView\ClgView;
$options = [
'tab' => ' ',
'subtitles_as_labels' => true,
'item_ids' => [
'title' => 'title_id',
'subtitle' => 'subtitle_id',
'marker' => 'marker_id',
'list_container' => 'container_id',
'list_item' => 'item_id',
],
'item_classes' => [
'title' => 'title_class',
'subtitle' => 'subtitle_class',
'marker' => 'marker_class',
'list_container' => 'container_class',
'list_item' => 'item_class',
],
];
$ClgView = new ClgView('CHANGELOG.md', $options);
$ClgView->parse();
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2025-11-18
