PHPackages                             telstatic/thresh - 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. [API Development](/categories/api)
4. /
5. telstatic/thresh

Abandoned → [telstatic/thresh](/?search=telstatic%2Fthresh)Library[API Development](/categories/api)

telstatic/thresh
================

laravel 文档生成器

0.0.4(4y ago)54601MITPHPPHP ^7.1

Since Apr 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/TELstatic/thresh)[ Packagist](https://packagist.org/packages/telstatic/thresh)[ RSS](/packages/telstatic-thresh/feed)WikiDiscussions master Synced 1mo ago

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

Thresh
======

[](#thresh)

> Laravel API 文档生成器,可以将基于 Laravel 项目的项目代码，自动生成 json 或 md 格式的描述文件。

 [![StyleCI Shield](https://camo.githubusercontent.com/7294a8ae821741d317901a5410e7850e8d9d9f6355b5617538ecd7f99cb4d8da/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3336303430373936352f736869656c643f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/7294a8ae821741d317901a5410e7850e8d9d9f6355b5617538ecd7f99cb4d8da/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3336303430373936352f736869656c643f6272616e63683d6d6173746572) [![licence](https://camo.githubusercontent.com/baa659ae01cafcc5e3855b7c20a28948e7a0bd2a379e3031dce43fd3f917543f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74656c7374617469632f7468726573682e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/baa659ae01cafcc5e3855b7c20a28948e7a0bd2a379e3031dce43fd3f917543f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74656c7374617469632f7468726573682e7376673f7374796c653d666c61742d737175617265) [![licence](https://camo.githubusercontent.com/8647f68e4c7abe0d0493d972d823d3038be3c3cf97f0cbdf8a2e8a1edbb959cb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f74656c7374617469632f7468726573682e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/8647f68e4c7abe0d0493d972d823d3038be3c3cf97f0cbdf8a2e8a1edbb959cb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f74656c7374617469632f7468726573682e7376673f7374796c653d666c61742d737175617265) [![code size](https://camo.githubusercontent.com/c4a8ba1914824c605420c5794eaa95171df0ae82abf5514ebc5711282fb41924/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f74656c7374617469632f7468726573682e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/c4a8ba1914824c605420c5794eaa95171df0ae82abf5514ebc5711282fb41924/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f74656c7374617469632f7468726573682e7376673f7374796c653d666c61742d737175617265) [![downloads](https://camo.githubusercontent.com/903c6f9cfe5310a5083261450b8eed1662220ebe87779f1bd78ddeecb446693b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74656c7374617469632f7468726573682e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/903c6f9cfe5310a5083261450b8eed1662220ebe87779f1bd78ddeecb446693b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74656c7374617469632f7468726573682e7376673f7374796c653d666c61742d737175617265) [![downloads](https://camo.githubusercontent.com/14211760c744ba6d92f962d10561ceb7168244def5747fafda57df221f0fa3f0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f74656c7374617469632f7468726573682e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/14211760c744ba6d92f962d10561ceb7168244def5747fafda57df221f0fa3f0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f74656c7374617469632f7468726573682e7376673f7374796c653d666c61742d737175617265) [![downloads](https://camo.githubusercontent.com/74b62d9e2bf4871a0728f28f2b2ab5c6bdaae0b1d8caaada305e2f6dc1f0154a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f74656c7374617469632f7468726573682e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/74b62d9e2bf4871a0728f28f2b2ab5c6bdaae0b1d8caaada305e2f6dc1f0154a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f74656c7374617469632f7468726573682e7376673f7374796c653d666c61742d737175617265)

安装
--

[](#安装)

```
$ composer require telstatic/thresh -vvv
```

功能
--

[](#功能)

1. 生成 Markdown 文档
2. 生成 Postman 配置文件
3. 生成 Swagger 配置文件

使用示例
----

[](#使用示例)

详见 `TELstatic\Thresh\Controllers\ThreshController`安装扩展后，访问 `http://{your-domain}/thresh`

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/telstatic/thresh/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/telstatic/thresh/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

### Thanks

[](#thanks)

[![](phpstorm.svg)](https://www.jetbrains.com)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

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

Every ~11 days

Total

4

Last Release

1815d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/266c1e8ebb762e5abb5c031199a12cdaebd6a40bd9589729b42768ee0670392d?d=identicon)[TELstatic](/maintainers/TELstatic)

---

Top Contributors

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

---

Tags

laravelswaggerPostman

### Embed Badge

![Health badge](/badges/telstatic-thresh/health.svg)

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

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M112](/packages/darkaonline-l5-swagger)[infyomlabs/swagger-generator

Swagger Generator for InfyOm Laravel Generator

1151.1M5](/packages/infyomlabs-swagger-generator)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)

PHPackages © 2026

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