Scramble 0.11.0 is here! Laravel Data support, schema enforcement and more
Learn more

Scramble – Laravel OpenAPI (Swagger) Documentation Generator

Are you a visual learner?
Get most out of Scramble with in-depth screencasts.

image

Scramble is OpenAPI (Swagger) documentation generator for Laravel. It generates API documentation for your project automatically without requiring you to manually write PHPDoc annotations.

The documentation is generated in OpenAPI 3.1.0 format. To show the documentation in UI, Stoplight Elements is used.

The main motivation for the project is to generate as much API documentation automatically as possible.

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 documentation you can trust.

Scramble PRO
Comprehensive API documentation generation for Spatie’s Laravel Data and Laravel Query Builder.