New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

dedoc/scramble

Automatic generation of API documentation for Laravel applications.
19,669,503 2,224
Install
composer require dedoc/scramble
Latest Version:v0.13.52
PHP:^8.1
Laravel:10 – 13
Older releases:8 · 9
License:MIT
Last Updated:Nov 1, 2026
Links: GitHub  ·  Packagist
Maintainer: romalytvynenko

Scramble – Laravel API documentation generator

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.


Donate

Related Packages

justcoded/scramble

Automatic generation of API documentation for Laravel applications.

7,424 0
juststeveking/laravel-redoc

A simple API documentation package for Laravel using OpenAPI and Redoc

360,414 92
sdekkers/compass

Zero-config OpenAPI documentation generator for Laravel modular applications

5,623 0
sciarcinski/laravel-swagger

OpenApi or Swagger integration to Laravel

3,380 0
lynkbyte/docs-builder

A Laravel-powered static documentation site generator that compiles Markdown and...

1,963 1

Version History

Version Released PHP Laravel License
v0.13.52 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v0.13.51 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v0.13.50 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v0.13.49 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v0.13.48 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
Pre-releases (6)
Version Released PHP Laravel License
v0.12.0-alpha.1 ^8.1 ^10.0|^11.0 MIT
v0.0.1-alpha.5 ^7.4|^8.0|^8.1 ^8.0.0|^9.0.0 MIT
v0.0.1-alpha.4 ^7.4|^8.0|^8.1 ^8.0.0|^9.0.0 MIT
v0.0.1-alpha.3 ^7.4|^8.0|^8.1 ^8.0.0|^9.0.0 MIT
v0.0.1-alpha.2 ^7.4|^8.0|^8.1 ^8.0.0|^9.0.0 MIT