dedoc/scramble

Automatic generation of API documentation for Laravel applications.
17,401,418 2,219
Install
composer require dedoc/scramble
Latest Version:v0.13.47
PHP:^8.1
Laravel:10 – 13
Older releases:8 · 9
License:MIT
Last Updated:Oct 10, 2026
Links: GitHub  ·  Packagist
Maintainer: romalytvynenko

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.


Related Packages

vyuldashev/laravel-openapi

Generate OpenAPI Specification for Laravel Applications

1,286,133 462
darkaonline/swagger-lume

OpenApi or Swagger integration to Lumen

2,511,479 331
darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

42,294,993 2,936
noitran/opendox

OpenApi(Swagger) 3.0 package for Lumen 5.5+ and Laravel 5.5+ with REDOC UI and S...

14,954 22
yaangvu/swagger-lume

OpenApi or Swagger integration to Lumen

7 0

Version History

Version Released PHP Laravel License
v0.13.47 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v0.13.46 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v0.13.45 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
v0.13.44 ^8.1 ^10.0|^11.0|^12.0|^13.0 MIT
0.13.43 ^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