PHPackages                             softdd/docmaker - 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. softdd/docmaker

ActiveLibrary[API Development](/categories/api)

softdd/docmaker
===============

自动生成openapi文档

1.0(4y ago)014MITPHPPHP &gt;=7.0.0

Since Mar 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/phper5/laravelDocMaker)[ Packagist](https://packagist.org/packages/softdd/docmaker)[ RSS](/packages/softdd-docmaker/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

softdd/requestlog
=================

[](#softddrequestlog)

生成open api文档

Installation
------------

[](#installation)

```
composer require softdd/docmaker
php artisan vendor:publish --provider="SoftDD\DocMaker\DocMakerServiceProvider
```

该扩展仅仅是对zircote/swagger-php的包装

### 配置说明

[](#配置说明)

```
//softDDRequestLog.php
return [
    'apiScanPath'=>app_path()."/Api",
    'docType'=>'json', //json or yaml
    'docPath'=>storage_path('docs')."/doc.json",
    'uri'=>'/api/docs',
    'middleware'=>[],
];
```

- apiScanPath 生成文档需要扫描的目录
- docType 生成文档的类型, json or yaml
- docPath 稳定保存的目录，注意需要有读写权限
- uri 访问文档的路径，注意不可和已经路由冲突。force参数可强制更新
- middleware 文档路由的中间件，可增加相关处理，比如授权等。默认为空

###  Health Score

22

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

1820d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ce3ef1b0c72d9525cc0a00b227db0694209fb2716fbc6058b04b7a50a2a1139?d=identicon)[phper5](/maintainers/phper5)

---

Top Contributors

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

---

Tags

swaggersoftddopen api 3.0

### Embed Badge

![Health badge](/badges/softdd-docmaker/health.svg)

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

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k33.0M97](/packages/darkaonline-l5-swagger)[darkaonline/swagger-lume

OpenApi or Swagger integration to Lumen

3342.3M3](/packages/darkaonline-swagger-lume)[jlapp/swaggervel

A great way to integrate Swagger into Laravel

492925.3k2](/packages/jlapp-swaggervel)[wotz/laravel-swagger-ui

Add Swagger UI to a Laravel application.

275294.0k](/packages/wotz-laravel-swagger-ui)[light/yii2-swagger

swagger intergation with yii2

155784.5k4](/packages/light-yii2-swagger)[hyperf/swagger

A swagger library for Hyperf.

19329.3k6](/packages/hyperf-swagger)

PHPackages © 2026

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