PHPackages                             wangruiyan/doc - 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. wangruiyan/doc

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

wangruiyan/doc
==============

自动生成文档

00PHP

Since May 20Pushed 2y ago1 watchersCompare

[ Source](https://github.com/wangruiyan0608/doc)[ Packagist](https://packagist.org/packages/wangruiyan/doc)[ RSS](/packages/wangruiyan-doc/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

doc
===

[](#doc)

这个是自动生成文档的工具

- 采用解析注释生成文件的形式

安装
--

[](#安装)

使用composer安装

```
composer require wangruiyan/doc

```

实例：
---

[](#实例)

### 传入单个文件地址解析文档

[](#传入单个文件地址解析文档)

```
use wangruiyan\Filed;

$filed = (new \Filed([
    'file_action_url'  => 'https://steam.yuanmadejia.com/'
]);

echo $filed->add_file(__DIR__."/Api.php")

// add_file 方法第二个参数可以不填写 是保存的文件路径

```

### 传入多个文件地址解析文档

[](#传入多个文件地址解析文档)

```
use wangruiyan\Filed;

$filed = (new \Filed([
    'file_action_url'  => 'https://steam.yuanmadejia.com/'
]);

echo $filed->add_file([
    __DIR__."/Api.php",
    __DIR__."/Home.php",
]);

```

### 传入目录解析文档

[](#传入目录解析文档)

```
use wangruiyan\Filed;

$filed = (new \Filed([
    'file_action_url'  => 'https://steam.yuanmadejia.com/'
]);

echo $filed->add_file(__DIR__);

```

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/170314360?v=4)[wangruiyan0608](/maintainers/wangruiyan0608)[@wangruiyan0608](https://github.com/wangruiyan0608)

---

Top Contributors

[![wangruiyan0608](https://avatars.githubusercontent.com/u/170314360?v=4)](https://github.com/wangruiyan0608 "wangruiyan0608 (1 commits)")

### Embed Badge

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

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

###  Alternatives

[spatie/calendar-links

Generate add to calendar links for Google, iCal and other calendar systems

1.0k7.7M10](/packages/spatie-calendar-links)[dillingham/nova-id-link

Links the ID field in Nova

23126.1k](/packages/dillingham-nova-id-link)[opengento/module-saleable

This extension allows to set if a product is saleable and can show its price by scope and customer group.

137.2k](/packages/opengento-module-saleable)

PHPackages © 2026

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