New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

jurager/documentator

OpenAPI specification generator for Laravel
1,863
Install
composer require jurager/documentator
Latest Version:1.0
PHP:^8.3
Laravel:10 – 13
License:MIT
Last Updated:Nov 1, 2026
Links: GitHub  ·  Packagist
Maintainer: Jurager

Jurager/Documentator

Latest Stable Version Total Downloads PHP Version Require License Ko-fi

Generate OpenAPI 3.0 specifications from Laravel routes, validation rules, and API resources.

Installation

Documentator requires PHP 8.3 or greater and Laravel 10–13:

composer require jurager/documentator
php artisan documentator:generate

Your specification is written to docs/openapi.json. Routes matching api/* are included by default.

Documenting Endpoints

Add descriptions and examples to your controller methods:

/**
 * List users.
 *
 * @group Users
 * @preset pagination
 * @queryParam search string optional Filter by name.
 */

Request fields are read from validation rules and response fields from API resources. See the documentation or the installation guide to get started.

License

The MIT License. See LICENSE.

Related Packages

sdekkers/compass

Zero-config OpenAPI documentation generator for Laravel modular applications

5,774 0
sciarcinski/laravel-swagger

OpenApi or Swagger integration to Laravel

3,404 0
darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

44,558,585 2,935
vyuldashev/laravel-openapi

Generate OpenAPI Specification for Laravel Applications

1,302,716 460
tartanlegrand/laravel-openapi

Generate OpenAPI Specification for Laravel Applications

274,118 38

Version History

Version Released PHP Laravel License
1.0 ^8.3 ^10.0|^11.0|^12.0|^13.0 MIT