smskin / l5-swagger
OpenApi or Swagger integration to Laravel
Fund package maintenance!
Requires
- php: ^7.2 || ^8.0
- ext-json: *
- laravel/framework: >=8.40.0 || ^7.0
- swagger-api/swagger-ui: ^3.0
- symfony/yaml: ^5.0
- zircote/swagger-php: 3.*
Requires (Dev)
- mockery/mockery: 1.*
- orchestra/testbench: 6.* || 5.*
- php-coveralls/php-coveralls: ^2.0
- phpunit/phpunit: 8.*
This package is auto-updated.
Last update: 2026-05-16 23:49:25 UTC
README
L5 Swagger - OpenApi or Swagger Specification for your Laravel project made easy.
#Description I found critical bug in the branch 6.0.7. The maintainer of the original package ignored me for 2 months. I was created a new composer package for use as a dependence.
Original package name: darkaonline/l5-swagger
New package name: smskin/l5-swagger
Please visit L5 Swagger Wiki for more information:
Support
Disclaimer
This package is a wrapper of Swagger-php and swagger-ui adapted to work with Laravel. The actual Swagger spec is beyond the scope of this package. All L5-Swagger 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. For good examples of swagger-php in action look here.