4mm / l5-swagger
OpenApi or Swagger integration to Laravel
dev-main
2023-03-15 23:54 UTC
Requires
- php: ^7.2 || ^8.1 || ^8.2
- ext-json: *
- laravel/framework: ^10.0 || ^9.0 || >=8.40.0 || ^7.0
- swagger-api/swagger-ui: ^3.0 || ^4.0
- symfony/yaml: ^5.0 || ^6.0
- zircote/swagger-php: ^3.2.0 || ^4.0.0
Requires (Dev)
- mockery/mockery: 1.*
- orchestra/testbench: ^8.0 || 7.* || ^6.15 || 5.*
- php-coveralls/php-coveralls: ^2.0
- phpunit/phpunit: ^10.0 || ^9.5
This package is not auto-updated.
Last update: 2024-11-22 07:03:32 UTC
README
composer update composer require "4mm/l5-swagger" php artisan vendor:publish --provider "L5Swagger\L5SwaggerServiceProvider"
GENERATE
php artisan l5-swagger:generate
SHOW
php artisan serve http://localhost:8000/api/documentation http://localhost:8000/docs/api-docs.json