ieddcn / swagger
laravel swagger 文档
1.3.0
2023-11-21 06:42 UTC
Requires
- php: ^7.2 || ^8.0
- ext-json: *
- laravel/framework: ^10.0 || ^9.0 || >=8.40.0 || ^7.0
- swagger-api/swagger-ui: ^3.0 || >=4.1.3
- 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-12-31 12:26:10 UTC
README
安装
composer require Ieddcn/swagger
完成安装
php artisan swagger:install
生成文档 - 指定文档
php artisan swagger:generate swagger
生成文档 - 全部
php artisan swagger:generate --all