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

ActiveLibrary[API Development](/categories/api)

ladumor/laravel-swagger
=======================

this package used for the setup swagger docs for APIs.

1.0.0(4y ago)235.0k↓50%1MITPHPPHP &gt;=5.6

Since Nov 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/shailesh-ladumor/laravel-swagger)[ Packagist](https://packagist.org/packages/ladumor/laravel-swagger)[ RSS](/packages/ladumor-laravel-swagger/feed)WikiDiscussions master Synced 1mo ago

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

[![Latest Stable Version](https://camo.githubusercontent.com/621aa20a875a6b80fee9672c6d4c788fa56d0ff26aed47d4705ea61f0268f382/687474703a2f2f706f7365722e707567782e6f72672f6c6164756d6f722f6c61726176656c2d737761676765722f76)](https://packagist.org/packages/ladumor/laravel-swagger)[![Daily Downloads](https://camo.githubusercontent.com/be2ead433b66cbf505b9d51785d65dfd8997587ca587758b13c5311eae8e30f4/687474703a2f2f706f7365722e707567782e6f72672f6c6164756d6f722f6c61726176656c2d737761676765722f642f6461696c79)](https://packagist.org/packages/ladumor/laravel-swagger)[![Monthly Downloads](https://camo.githubusercontent.com/973e139b921b94ad7e7ff8dfdc875fd90015ba9438e1ec2cfcd51d1f5888625a/687474703a2f2f706f7365722e707567782e6f72672f6c6164756d6f722f6c61726176656c2d737761676765722f642f6d6f6e74686c79)](https://packagist.org/packages/ladumor/laravel-swagger)[![Total Downloads](https://camo.githubusercontent.com/8bfa60f6a6fc4855bfdb0405708e08f02507092f40a47a7878fc2156c588009a/687474703a2f2f706f7365722e707567782e6f72672f6c6164756d6f722f6c61726176656c2d737761676765722f646f776e6c6f616473)](https://packagist.org/packages/ladumor/laravel-swagger)[![License](https://camo.githubusercontent.com/50749e1ada9e22c07f14ea6a491af6c9b79acf1d902c4f25e54ad31251ea0f16/687474703a2f2f706f7365722e707567782e6f72672f6c6164756d6f722f6c61726176656c2d737761676765722f6c6963656e7365)](https://packagist.org/packages/ladumor/laravel-swagger)[![PHP Version Require](https://camo.githubusercontent.com/53e4c7b30d1d269bbd65a7f79ffd7cfc0bbe7f7734d573d90a99328d03527980/687474703a2f2f706f7365722e707567782e6f72672f6c6164756d6f722f6c61726176656c2d737761676765722f726571756972652f706870)](https://packagist.org/packages/ladumor/laravel-swagger)

Laravel Swagger
===============

[](#laravel-swagger)

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

[](#installation)

Install the package by the following command,

```
composer require ladumor/laravel-swagger

```

Add Provider
------------

[](#add-provider)

Add the provider to your `config/app.php` into `provider` section if using lower version of laravel,

```
Ladumor\LaravelSwagger\LaravelSwaggerServiceProvider::class,

```

Add Facade
----------

[](#add-facade)

Add the Facade to your `config/app.php` into `aliases` section,

```
'LaravelSwagger' => \Ladumor\LaravelSwagger\LaravelSwaggerServiceProvider::class,

```

Generate Swagger file and publish the Assets. like, view
--------------------------------------------------------

[](#generate-swagger-file-and-publish-the-assets-like-view)

Run the following command to publish config file,

```
php artisan laravel-swagger:generate

```

Add route in `web.php` file
---------------------------

[](#add-route-in-webphp-file)

```
Route::get('/swagger-docs', function () {
    return view('swagger.index');
});

```

Other Packages
--------------

[](#other-packages)

- [One Signal](https://github.com/shailesh-ladumor/one-signal)
- [Laravel PWA](https://github.com/shailesh-ladumor/laravel-pwa) (Progressive Web Application)

Learn Laravel Packages here
---------------------------

[](#learn-laravel-packages-here)

[![](https://camo.githubusercontent.com/78b94b1a27e59e40a309e49b70ed1d231ba18bdf25f4f93b7d57173cac6039b7/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f794d7473674273714451732f302e6a7067)](https://www.youtube.com/c/LaravelPackageTutorial)

### License

[](#license)

The MIT License (MIT). Please see [License](LICENSE.md) File for more information

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community8

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

1655d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e474b86de974345ff98de6151b9b98235df335b075cb709a78e6f133bddaaa96?d=identicon)[ladumor](/maintainers/ladumor)

---

Top Contributors

[![shailesh-ladumor](https://avatars.githubusercontent.com/u/16555999?v=4)](https://github.com/shailesh-ladumor "shailesh-ladumor (4 commits)")

---

Tags

laravelswaggerswagger-uiphplaravellaravel swaggerswagger laravel

### Embed Badge

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

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

###  Alternatives

[resend/resend-laravel

Resend for Laravel

1191.4M6](/packages/resend-resend-laravel)[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162145.5k1](/packages/joisarjignesh-bigbluebutton)[dariusiii/tmdb-laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the wtfzdotnet/php-tmdb-api library.

1821.1k](/packages/dariusiii-tmdb-laravel)[madeitbelgium/wordpress-php-sdk

WordPress Laravel PHP SDK

4422.9k1](/packages/madeitbelgium-wordpress-php-sdk)[dystcz/lunar-api

Dystore API layer for Lunar e-commerce package

411.1k3](/packages/dystcz-lunar-api)[gufy/whmcs

WHMCS API for Laravel 5

201.7k](/packages/gufy-whmcs)

PHPackages © 2026

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