waad/scramble-swagger
最新稳定版本:v1.4.0
Composer 安装命令:
composer require waad/scramble-swagger
包简介
A Laravel package for generating Swagger/OpenAPI documentation
README 文档
README
A Laravel package that seamlessly integrates with Dedoc Scramble to automatically generate Swagger/OpenAPI documentation for your APIs and support multiple versions of your API. No manual documentation required - your API endpoints are documented based on your route definitions and code.
⚠️ This package depends on Dedoc Scramble.
Requirements
- Laravel 10.x or higher
- PHP 8.1 or higher
Installation
composer require waad/scramble-swagger
php artisan vendor:publish --provider "Waad\ScrambleSwagger\ScrambleSwaggerServiceProvider"
Usage
- Configure the
config/scramble.phpandconfig/scramble-swagger.phpfiles. - Open URL Swagger documentation
/docs/swaggerdepend onscramble-swagger.url.
Main Features
- All Features of Dedoc Scramble.
- Support multiple versions of your API.
- Use Swagger UI v5.18.3
- Use OAS 3.1.0
- Custom Style css
scramble-swagger/css/custom-style.css
License
Package is open-source software licensed under the MIT license.
统计信息
- 总下载量: 119
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-01-30
