L5 Swagger
Laravel package that generates an OpenAPI document from swagger-php attributes and serves it with Swagger UI.
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.
Identity
- Status
- Active
- Maintainer
- Darius Matulionis3
- Maintained by
- Individual
- First release
- 20158
Rendering and deploy
- Install with
- composer2
Releases
Adoption
Sources
- 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/DarkaOnLine/L5-Swagger - 2026-11-16: links, Install with
github.com/DarkaOnLine/L5-Swagger/wiki/Getting-Started - 2026-11-16: Maintainer, License, License model
raw.githubusercontent.com/DarkaOnLine/L5-Swagger/master/LICENSE - 2026-11-16: Categories, Built on
raw.githubusercontent.com/DarkaOnLine/L5-Swagger/master/README.md - 2026-11-16: Runtime, Minimum runtime
github.com/DarkaOnLine/L5-Swagger/blob/11.3.1/composer.json - 2026-11-16: Packagist downloads
packagist.org/packages/darkaonline/l5-swagger.json - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/packagist.org/packages/darkaonline%2Fl5-swagger - 2026-11-16: First release
api.github.com/repos/DarkaOnLine/L5-Swagger/commits/v0.1 - 2026-11-16: Current major version, Last release
api.github.com/repos/DarkaOnLine/L5-Swagger/releases - 2026-11-16: Contributors
api.github.com/repos/DarkaOnLine/L5-Swagger/contributors?per_page=1