PHPackages                             jessekoska/swagger-lume - 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. jessekoska/swagger-lume

ActiveLibrary[API Development](/categories/api)

jessekoska/swagger-lume
=======================

Swagger integration to Lumen 5

1.0.3(10y ago)028MITPHPPHP &gt;=5.5.9

Since Jan 24Pushed 9y ago1 watchersCompare

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

READMEChangelogDependencies (4)Versions (7)Used By (0)

SwaggerLume
===========

[](#swaggerlume)

Swagger 2.0 for Lumen 5

This package is a wrapper of [Swagger-php](https://github.com/zircote/swagger-php) and [swagger-ui](https://github.com/swagger-api/swagger-ui) adapted to work with Lumen 5.

Martin Abelson Sahlen version of swagger-ui implemented.

Installation
============

[](#installation)

```
    composer require "jessekoska/swagger-lume dev-master"
```

- Open your `bootstrap/app.php` file and:

uncomment this line (around line 26) in `Create The Application` section:

```
     $app->withFacades();
```

add this line before `Register Container Bindings` section:

```
     $app->configure('swagger-lume');
```

add this line in `Register Service Providers` section:

```
    $app->register(\SwaggerLume\ServiceProvider::class);
```

- Run `php artisan swagger-lume:publish-config` to publish configs (`config/swagger-lume.php`)
- Make configuration changes if needed
- Run `php artisan swagger-lume:publish` to publish everything

Configuration
=============

[](#configuration)

- Run `php artisan swagger-lume:publish-config` to publish configs (`config/swagger-lume.php`)
- Run `php artisan swagger-lume:publish-assets` to publish swagger-ui to your public folder (`public/vendor/swagger-lume`)
- Run `php artisan swagger-lume:publish-views` to publish views (`resources/views/vendor/swagger-lume`)
- Run `php artisan swagger-lume:publish` to publish everything
- Run `php artisan swagger-lume:generate` to generate docs

Swagger-php
===========

[](#swagger-php)

The actual Swagger spec is beyond the scope of this package. All SwaggerLume does is package up swagger-php and swagger-ui in a Laravel-friendly fashion, and tries to make it easy to serve. For info on how to use swagger-php [look here](http://zircote.com/swagger-php/). For good examples of swagger-php in action [look here](https://github.com/zircote/swagger-php/tree/master/Examples/petstore.swagger.io).

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 63.7% 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 ~26 days

Total

5

Last Release

3652d ago

### Community

Maintainers

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

---

Top Contributors

[![fehguy](https://avatars.githubusercontent.com/u/249413?v=4)](https://github.com/fehguy "fehguy (290 commits)")[![mohsen1](https://avatars.githubusercontent.com/u/543633?v=4)](https://github.com/mohsen1 "mohsen1 (56 commits)")[![jensoleg](https://avatars.githubusercontent.com/u/5655197?v=4)](https://github.com/jensoleg "jensoleg (40 commits)")[![DarkaOnLine](https://avatars.githubusercontent.com/u/1171698?v=4)](https://github.com/DarkaOnLine "DarkaOnLine (31 commits)")[![jessekoska](https://avatars.githubusercontent.com/u/4028498?v=4)](https://github.com/jessekoska "jessekoska (9 commits)")[![ayush](https://avatars.githubusercontent.com/u/188701?v=4)](https://github.com/ayush "ayush (7 commits)")[![alexagranov](https://avatars.githubusercontent.com/u/125607?v=4)](https://github.com/alexagranov "alexagranov (2 commits)")[![jlorieux-systran](https://avatars.githubusercontent.com/u/4091844?v=4)](https://github.com/jlorieux-systran "jlorieux-systran (2 commits)")[![kylejginavan](https://avatars.githubusercontent.com/u/222081?v=4)](https://github.com/kylejginavan "kylejginavan (2 commits)")[![nathanejohnson](https://avatars.githubusercontent.com/u/1360240?v=4)](https://github.com/nathanejohnson "nathanejohnson (2 commits)")[![STRML](https://avatars.githubusercontent.com/u/1197375?v=4)](https://github.com/STRML "STRML (2 commits)")[![tillig](https://avatars.githubusercontent.com/u/1156571?v=4)](https://github.com/tillig "tillig (1 commits)")[![valdemon](https://avatars.githubusercontent.com/u/5364850?v=4)](https://github.com/valdemon "valdemon (1 commits)")[![bezhermoso](https://avatars.githubusercontent.com/u/1437428?v=4)](https://github.com/bezhermoso "bezhermoso (1 commits)")[![whitlockjc](https://avatars.githubusercontent.com/u/98899?v=4)](https://github.com/whitlockjc "whitlockjc (1 commits)")[![neoecos](https://avatars.githubusercontent.com/u/1490677?v=4)](https://github.com/neoecos "neoecos (1 commits)")[![sibblegp](https://avatars.githubusercontent.com/u/1026474?v=4)](https://github.com/sibblegp "sibblegp (1 commits)")[![xinvincible21](https://avatars.githubusercontent.com/u/3805074?v=4)](https://github.com/xinvincible21 "xinvincible21 (1 commits)")[![thadudexx](https://avatars.githubusercontent.com/u/5389906?v=4)](https://github.com/thadudexx "thadudexx (1 commits)")[![edmondchui](https://avatars.githubusercontent.com/u/1108393?v=4)](https://github.com/edmondchui "edmondchui (1 commits)")

---

Tags

laravelswaggerlumen

### Embed Badge

![Health badge](/badges/jessekoska-swagger-lume/health.svg)

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

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M111](/packages/darkaonline-l5-swagger)[darkaonline/swagger-lume

OpenApi or Swagger integration to Lumen

3372.3M3](/packages/darkaonline-swagger-lume)

PHPackages © 2026

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