dedoc/scramble
最新稳定版本:v0.13.10
Composer 安装命令:
composer require dedoc/scramble
包简介
Automatic generation of API documentation for Laravel applications.
README 文档
README
Scramble
Scramble generates API documentation for Laravel project. Without requiring you to manually write PHPDoc annotations. Docs are generated in OpenAPI 3.1.0 format.
Documentation
You can find full documentation at scramble.dedoc.co.
Introduction
The main motto of the project is generating your API documentation without requiring you to annotate your code.
This allows you to focus on code and avoid annotating every possible param/field as it may result in outdated documentation. By generating docs automatically from the code your API will always have up-to-date docs which you can trust.
Installation
You can install the package via composer:
composer require dedoc/scramble
Usage
After install you will have 2 routes added to your application:
/docs/api- UI viewer for your documentation/docs/api.json- Open API document in JSON format describing your API.
By default, these routes are available only in local environment. You can change this behavior by defining viewApiDocs gate.
统计信息
- 总下载量: 5.87M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1921
- 点击次数: 2
- 依赖项目数: 53
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04