api-documenter

Generate OpenAPI 3.0 documentation from Laravel routes and controllers.

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/VictorSmaniotto/degestao --skill api-documenter-victorsmaniotto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-documenter
Source: https://github.com/VictorSmaniotto/degestao/tree/main/.agent/skills/api-documenter
Command: npx skills add https://github.com/VictorSmaniotto/degestao --skill api-documenter-victorsmaniotto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically generate and maintain OpenAPI 3.0 documentation from Laravel PHP code, ensuring API docs stay in sync with the implementation.

Core Features & Use Cases

  • OpenAPI spec generation from Laravel routes and controllers.
  • Interactive documentation compatibility with Swagger UI, Redoc, and Stoplight.
  • Authentication and request/response schemas with examples.

Quick Start

Generate the OpenAPI spec by pointing the tool at your Laravel project and running the generation workflow.

Frequently Asked Questions about api-documenter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate OpenAPI documentation from Laravel PHP code?

You can generate OpenAPI documentation from Laravel PHP code by pointing the generation tool at your Laravel project, which parses routes and controllers to automatically produce a synced OpenAPI 3.0 spec.

What is the best way to keep OpenAPI specs in sync with a Laravel codebase?

The best way to keep OpenAPI specs in sync with a Laravel codebase is using an automated code-to-doc pipeline that extracts schemas and endpoints directly from your PHP controllers during generation.

Does this OpenAPI generator support Swagger UI and Redoc?

Yes, the generated OpenAPI 3.0 documentation is fully compatible with interactive documentation viewers including Swagger UI, Redoc, and Stoplight for visual API exploration.

Can I define authentication flows and request schemas in Laravel API docs?

Yes, you can define authentication flows and request/response schemas with examples directly from your Laravel PHP code, ensuring all security and data models are captured in the final OpenAPI spec.

Do I need PHP annotations to generate OpenAPI specs from Laravel?

The tool generates OpenAPI specs from Laravel PHP code by parsing routes and controllers, utilizing annotations to extract endpoint definitions, authentication flows, and schema definitions automatically.