Package

Knuckleswtf Scribe

Generate API documentation for humans from your Laravel codebase.✍

Package

knuckleswtf/scribe

View on GitHub →

Overview

What Knuckleswtf Scribe does

Scribe generates human-friendly API documentation directly from Laravel codebases, making it easier to communicate how an API works to developers and stakeholders alike.

The package automates the creation of clear, comprehensive API documentation by pulling information straight from the codebase. It outputs a single-page HTML document complete with descriptive text, code samples, and even an in-browser API testing feature. This real-time 'Try It Out' option lets users interact with the API directly from the documentation page, enhancing both accessibility and understanding.

Scribe's capabilities extend beyond simple documentation generation. It can automatically extract request parameter details from FormRequests or validation rules, and it safely calls API endpoints to capture sample responses. Sample responses can also be generated from Eloquent API Resources or Transformers, ensuring that the documentation reflects the real API behavior.

The package also provides flexibility in customization, allowing developers to adjust UI elements, reorder sections, or add custom strategies for data extraction. Extra endpoints or information that aren't inherently present in the codebase can also be statically defined, making the documentation comprehensive and adaptable to a team's needs.

Alongside the main outputs, Scribe generates Postman collections and OpenAPI specifications, supporting both versions 3.0.3 and 3.1.0. This ensures that documentation aligns with industry standards, useful for both internal use and public API sharing. As a tool, Scribe suits development teams looking to streamline their documentation process, particularly those who value up-to-date and interactive documentation systems.

This overview was generated by AI from the package README and may not reflect the latest release.

Read the full README →

Knuckleswtf Scribe Related Articles

Automating your OpenAPI Documentation image

Automating your OpenAPI Documentation

Read article
Kit: An Opinionated API Starter Kit for Laravel image

Kit: An Opinionated API Starter Kit for Laravel

Read article
Nimbus: An In-Browser API Testing Playground for Laravel image

Nimbus: An In-Browser API Testing Playground for Laravel

Read article

Let your users buy domains without leaving your app

If your Laravel app gives users a site, a storefront, or a workspace, they’ll eventually want their own domain. The name.com API lets them search, register, and connect one without leaving your product. It’s a clean REST API, so Laravel’s HTTP client is all you need.

Let your users buy domains without leaving your app

PhpStorm

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

PhpStorm

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

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum