tilson/git-report-php

用于从 git 中创建报告的简单 PHP 包

1.1.0 2023-11-26 21:40 UTC

This package is auto-updated.

Last update: 2024-09-30 01:43:45 UTC


README

Git-report 是一个用于在 Laravel 应用程序中创建简单报告的包,可以在命令行和 HTML 文件中生成报告。使用此包,您可以了解您或您的团队在何时投入时间和精力。

此包鼓励您遵循 Conventional Commits 1.0.0

因此,如果您想要获得更好的体验,您的 git 历史必须遵循 Conventional Commits

试试吧,祝您快乐。

安装

    composer require tilson/git-report-php --dev

示例

创建 HTML 格式的提交报告

    php artisan report:html

在下一个版本中(😉即将推出...)

在终端中创建提交报告

    php artisan report:cli

过滤器

按作者过滤

    php artisan git-report:{html|cli} --author="Name Author"

按日期过滤

    php artisan git-report:{html|cli} --date="YYYY-MM-DD"

按提交类型过滤

    php artisan git-report:{html|cli} --type="feat|fix|docs|style|refactor|test|chore"