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 today

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

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity38

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://www.gravatar.com/avatar/c24fca70e22e41ef76dce440c334a8b1641926c70ed2befe6e179838c9b5f587?d=identicon)[jinsoft](/maintainers/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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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