PHPackages                             kehao/doc\_create - 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. kehao/doc\_create

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

kehao/doc\_create
=================

php doc\_create

1.0(5y ago)010MITPHPPHP &gt;=7

Since Apr 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/kehao1996/doc_create)[ Packagist](https://packagist.org/packages/kehao/doc_create)[ RSS](/packages/kehao-doc-create/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Composer install
----------------

[](#composer-install)

step1:composer config repo.packagist composer
step2:composer require kehao/doc\_create @dev

Operation
---------

[](#operation)

```
    require_once 'vendor/autoload.php';

    $name = '名称';
    $target_dir = 'F:\code\test'; //生成文档目标目录
    $con = 'F:\code\test'; //解析目录

    try {
        $doc = new \Doc\doc('test',$target_dir,$con,1);
        $base64 = $doc->init();
        var_dump($base64);exit;
    }catch (\Doc\DocException $e){
        var_dump($e->getMessage());
    };

```

Analysis
--------

[](#analysis)

```
Class:

Method:
@method 方法名
@name   方法中文名
@param int id 主键id 是否必传1/0
@return int code 返回参数200成功201失败
@desc 描述
@url url地址

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

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

Unknown

Total

1

Last Release

1846d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/117308?v=4)[麦飞](/maintainers/kehao)[@Kehao](https://github.com/Kehao)

---

Top Contributors

[![kehao1996](https://avatars.githubusercontent.com/u/47624457?v=4)](https://github.com/kehao1996 "kehao1996 (18 commits)")

### Embed Badge

![Health badge](/badges/kehao-doc-create/health.svg)

```
[![Health](https://phpackages.com/badges/kehao-doc-create/health.svg)](https://phpackages.com/packages/kehao-doc-create)
```

PHPackages © 2026

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