PHPackages                             janfish/report - 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. janfish/report

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

janfish/report
==============

Weekly report generator

1.0(6y ago)18MITPHPPHP &gt;=7.1

Since Jul 11Pushed 6y agoCompare

[ Source](https://github.com/zeng444/weekly.report)[ Packagist](https://packagist.org/packages/janfish/report)[ RSS](/packages/janfish-report/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

使用说明
----

[](#使用说明)

### 原理

[](#原理)

- 提取git中你提交日志中带有指定识别符的内容，并用于生成excel格式的周报内容

### 配置文件

[](#配置文件)

- 设置配置文件configs/Config.php

```
return [
   'repo' => [
        [
            'name' => '融保界',
            'path' => '/data/backend.insurance.genius',
        ],
        [
            'name' => '周报',
            'path' => '/data/report',
        ],
    ],
    'download_folder' => 'down',
    'identifier' => 'rep',
    'author' => 'Robert',
    'title' => '%s年伙食团工作周报表',
    'real_name' => '张三',
    'department' => 'R&D',
    'auto_pull' => false,
    'debug' => true,
];
```

- repo

仓库目录repo.name仓库项目名；repo.path 仓库路径

- download\_folder

生成周报存放目录

- identifier

指定提取git日志的识别符，一般是一组字符串，默认rep(report的缩写)，此标签忽略大小写，主要使用方式如下

```
git commit -m "[rep] t1外面这里的将全部被提取"
git commit -m "[rep:t2里面这里的将全部被提取] t2外面这里的文字不被提取 "

```

以上两条生成最终周报信息为

```
 t1外面这里的将全部被提取
 t2里面这里的将全部被提取

```

- author

提取日志的指定作者，对应git日志作者

- title

生成周报内的表头名称 %s 指定年份，系统自动替换

- real\_name

生成周报内的真名

- department

生成周报内的部门

- auto\_pull

更新git日志后再生成周报

- debug

用markdown格式的输出预览周报

### 使用说明

[](#使用说明-1)

- 生成15条一周内的日志周报

```
./Run

```

- 生成5条一周内的日志周报

```
./Run 5

```

- 生成5条指定日期到当前的日志周报

```
./Run 5 2019-07-04

```

- 生成5条指定日期时间到当前的日志周报

```
./Run 5 '2019-07-04 12:00:00'

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

2499d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/60a62fd9f299f25558ac4a898ae3833bd7185ba4706bb167a8cabf05a3d96955?d=identicon)[Robert Zeng](/maintainers/Robert%20Zeng)

---

Top Contributors

[![zeng444](https://avatars.githubusercontent.com/u/941266?v=4)](https://github.com/zeng444 "zeng444 (5 commits)")

### Embed Badge

![Health badge](/badges/janfish-report/health.svg)

```
[![Health](https://phpackages.com/badges/janfish-report/health.svg)](https://phpackages.com/packages/janfish-report)
```

###  Alternatives

[symfony/scheduler

Provides scheduling through Symfony Messenger

8810.8M52](/packages/symfony-scheduler)[ericmann/sessionz

PHP Session Manager Interface

585.0k2](/packages/ericmann-sessionz)

PHPackages © 2026

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