# L5 Swagger

Laravel package that generates an OpenAPI document from swagger-php attributes and serves it with Swagger UI.


Source: https://findsoftware.frbit.cloud/l5-swagger/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- repository: https://github.com/DarkaOnLine/L5-Swagger
- docs: https://github.com/DarkaOnLine/L5-Swagger/wiki/Getting-Started

### Identity

- status: active
- maintainer: Darius Matulionis
- maintainerType: individual
- parent: unknown
- firstRelease: 2015
- hqCountry: unknown

### Kind

- category: backend
- hosting: php
- language: php
- runtime: php
- runtimeMin: php 8.2
- basedOn: laravel

### Content

- contentStore: unknown
- databases: unknown
- adminUi: unknown
- headlessApi: unknown
- templating: unknown
- i18n: unknown

### Rendering and deploy

- runsAs: unknown
- renderingModes: unknown
- installMethod: composer

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 11
- latestReleaseDate: 2026-11-09

### Adoption

- githubStargazers: 2935
- packagistDownloads: 44541051
- npmWeeklyDownloads: not applicable
- contributors: 64
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 1783
- dependentPackages: 91

### Sources

- urls: https://api.github.com/repos/DarkaOnLine/L5-Swagger (read 2026-11-16)
- urls: https://github.com/DarkaOnLine/L5-Swagger/wiki/Getting-Started (read 2026-11-16)
- maintainer: https://raw.githubusercontent.com/DarkaOnLine/L5-Swagger/master/LICENSE (read 2026-11-16)
- language: https://api.github.com/repos/DarkaOnLine/L5-Swagger (read 2026-11-16)
- category: https://raw.githubusercontent.com/DarkaOnLine/L5-Swagger/master/README.md (read 2026-11-16)
- basedOn: https://raw.githubusercontent.com/DarkaOnLine/L5-Swagger/master/README.md (read 2026-11-16)
- runtime: https://github.com/DarkaOnLine/L5-Swagger/blob/11.3.1/composer.json (read 2026-11-16)
- runtimeMin: https://github.com/DarkaOnLine/L5-Swagger/blob/11.3.1/composer.json (read 2026-11-16)
- installMethod: https://github.com/DarkaOnLine/L5-Swagger/wiki/Getting-Started (read 2026-11-16)
- license: https://raw.githubusercontent.com/DarkaOnLine/L5-Swagger/master/LICENSE (read 2026-11-16)
- licenseModel: https://raw.githubusercontent.com/DarkaOnLine/L5-Swagger/master/LICENSE (read 2026-11-16)
- packagistDownloads: https://packagist.org/packages/darkaonline/l5-swagger.json (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/darkaonline%2Fl5-swagger (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/darkaonline%2Fl5-swagger (read 2026-11-16)
- firstRelease: https://api.github.com/repos/DarkaOnLine/L5-Swagger/commits/v0.1 (read 2026-11-16)
- currentMajor: https://api.github.com/repos/DarkaOnLine/L5-Swagger/releases (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/DarkaOnLine/L5-Swagger/releases (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/DarkaOnLine/L5-Swagger (read 2026-11-16)
- contributors: https://api.github.com/repos/DarkaOnLine/L5-Swagger/contributors?per_page=1 (read 2026-11-16)

## Notes

L5 Swagger is a Laravel package that generates an OpenAPI document from swagger-php attributes in a Laravel application and serves it through Swagger UI. It is installed with Composer and registers itself through Laravel's package discovery. The artisan generation command writes the document, which is then served at /api/documentation. The package does not define the specification itself: it packages swagger-php and swagger-ui for Laravel, and the attributes are written as swagger-php describes them.

## Worth knowing

The documentation routes have no middleware by default, so the generated documentation is public until authentication middleware is added to them in the configuration.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
