Download the PHP package dedoc/scramble without Composer
On this page you can find all versions of the php package dedoc/scramble. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dedoc/scramble
More information about dedoc/scramble
Files in dedoc/scramble
Package scramble
Short Description Automatic generation of API documentation for Laravel applications.
License MIT
Homepage https://github.com/dedoc/scramble
Informations about the package scramble
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.
Warning Package is in early stage. It means there may be bugs and API is very likely to change. Create an issue if you spot a bug. Ideas are welcome.
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:
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.
All versions of scramble with dependencies
illuminate/contracts Version ^10.0|^11.0
nikic/php-parser Version ^5.0
phpstan/phpdoc-parser Version ^1.0
spatie/laravel-package-tools Version ^1.9.2