Scribe

knuckleswtf/scribe image

Scribe stats

Downloads
3.7M
Stars
1,298
Open Issues
37
Forks
225

View on GitHub →

Generate API documentation for humans from your Laravel codebase.✍

Scribe for Laravel

Scribe is a powerful tool designed to enhance your Laravel, Lumen, or Dingo API development by automatically generating human-friendly API documentation. It simplifies the documentation process, ensuring that you spend less time writing docs and more time coding.

Key Features

  • Rich Output: Generates a visually appealing single-page HTML document equipped with code samples, human-friendly text, and an interactive "Try It Out" feature. Additionally, it supports exporting to Postman collections and OpenAPI specifications.

  • Intelligent Processing: Scribe automatically extracts request parameters from FormRequests or validation rules and can invoke API endpoints to obtain sample responses. It also supports generating examples from Eloquent API Resources or Transformers.

  • High Customizability: The appearance and content of the documentation can be tailored to meet specific needs. Modifications can range from simple text changes to complete UI overhauls. Developers can also integrate custom strategies to enhance data extraction and document endpoints or details not present in the codebase.

Installation and Usage

The documentation for Scribe is comprehensive and provides detailed guidelines on installation, configuration, and usage. It includes instructions for users migrating from mpociot/laravel-apidoc-generator, with specific steps to transition from version 3 to the latest release.

Visit the official Scribe documentation to get started and explore advanced configurations.

Contribution

Contributors are welcome! If you're interested in improving Scribe or adding new features, check out the contribution guide.

For those looking to elevate their API documentation skills further, the developer of Scribe also offers a specialized course on crafting excellent API documentation.

Scribe is continually evolving with enhancements like subgrouping, easier sorting, and automated upgrade commands in its latest version, making it an essential tool for modern API development in Laravel.

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Knuckleswtf Scribe Related Articles

Automating your OpenAPI Documentation image

Automating your OpenAPI Documentation

Read article
Acquaint Softtech logo

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
Curotec logo

Curotec

World class Laravel experts with GenAI dev skills. LATAM-based, embedded engineers that ship fast, communicate clearly, and elevate your product. No bloat, no BS.

Curotec
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
PhpStorm logo

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
Securing Laravel logo

Securing Laravel

The essential security resource for Laravel devs, covering everything you need to keep your apps secure. Sign up to receive weekly security tips and monthly in depth articles, diving deep into security concepts you need to know!

Securing Laravel