PHPackages                             jinsoft/laravel-swagger - 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. jinsoft/laravel-swagger

ActiveLibrary[API Development](/categories/api)

jinsoft/laravel-swagger
=======================

A great way to integrate Swagger into Laravel

02JavaScript

Since Jan 13Pushed 7y agoCompare

[ Source](https://github.com/jinsoft/laravel-swagger)[ Packagist](https://packagist.org/packages/jinsoft/laravel-swagger)[ RSS](/packages/jinsoft-laravel-swagger/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

在[jlapp/swaggervel](https://github.com/slampenny/Swaggervel) 基础上修改

修改
==

[](#修改)

1.增加中文翻译

2.修改zircote/swagger-php 版本依赖为 `^2.0`

使用方法，在任意一个controller里面添加以下内容(最好单独创建一个controller)

```
/**
 * @SWG\Swagger(
 *     schemes={"http","https"},
 *     basePath="/",
 *     @SWG\Info(
 *         version="1.0.0",
 *         title="API文档",
 *         description="",
 *         termsOfService=""
 *     )
 * )
 */

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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/26262050?v=4)[jinsoft](/maintainers/jinsoft)[@jinsoft](https://github.com/jinsoft)

---

Top Contributors

[![slampenny](https://avatars.githubusercontent.com/u/7809881?v=4)](https://github.com/slampenny "slampenny (18 commits)")[![tralves](https://avatars.githubusercontent.com/u/2600867?v=4)](https://github.com/tralves "tralves (11 commits)")[![jinsoft](https://avatars.githubusercontent.com/u/26262050?v=4)](https://github.com/jinsoft "jinsoft (3 commits)")[![thmsu](https://avatars.githubusercontent.com/u/67536769?v=4)](https://github.com/thmsu "thmsu (3 commits)")[![cliveza](https://avatars.githubusercontent.com/u/1900666?v=4)](https://github.com/cliveza "cliveza (2 commits)")[![w0rd-driven](https://avatars.githubusercontent.com/u/489986?v=4)](https://github.com/w0rd-driven "w0rd-driven (2 commits)")[![UrosSimovic](https://avatars.githubusercontent.com/u/11682124?v=4)](https://github.com/UrosSimovic "UrosSimovic (1 commits)")[![phazei](https://avatars.githubusercontent.com/u/431395?v=4)](https://github.com/phazei "phazei (1 commits)")[![jbrooksuk](https://avatars.githubusercontent.com/u/246103?v=4)](https://github.com/jbrooksuk "jbrooksuk (1 commits)")[![kevin91nl](https://avatars.githubusercontent.com/u/3481474?v=4)](https://github.com/kevin91nl "kevin91nl (1 commits)")[![lahaxearnaud](https://avatars.githubusercontent.com/u/1364221?v=4)](https://github.com/lahaxearnaud "lahaxearnaud (1 commits)")[![AlexandrCe](https://avatars.githubusercontent.com/u/5671295?v=4)](https://github.com/AlexandrCe "AlexandrCe (1 commits)")[![riemers](https://avatars.githubusercontent.com/u/682041?v=4)](https://github.com/riemers "riemers (1 commits)")

### Embed Badge

![Health badge](/badges/jinsoft-laravel-swagger/health.svg)

```
[![Health](https://phpackages.com/badges/jinsoft-laravel-swagger/health.svg)](https://phpackages.com/packages/jinsoft-laravel-swagger)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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