laravel-openapi
An API documentation generator for Laravel applications that infers API documentation from Laravel conventions, type hints, doc comments, and static analysis, minimizing the need for explicit annotations; targeted attributes can annotate route handlers where inference isn't possible. It outputs an OpenAPI specification and serves it by default via a Scalar playground. It includes a linter command that checks whether all API routes are properly documented, correctly typed, and style-consistent, supports linting only dirty files, reports coverage in standard formats, and can automatically fix some classes of errors. It also ships with tooling to regularly test the library against open source Laravel applications with published OpenAPI specs to catch improvements and regressions.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
laravel-openapi
An API documentation generator for Laravel applications that infers API documentation from Laravel conventions, type hints, doc comments, and static analysis, minimizing the need for explicit annotations; targeted attributes can annotate route handlers where inference isn't possible. It outputs an OpenAPI specification and serves it by default via a Scalar playground. It includes a linter command that checks whether all API routes are properly documented, correctly typed, and style-consistent, supports linting only dirty files, reports coverage in standard formats, and can automatically fix some classes of errors. It also ships with tooling to regularly test the library against open source Laravel applications with published OpenAPI specs to catch improvements and regressions.
Audience: Laravel developers
Posted by @9dev · Original source ↗
Source text · @9dev · · Source ↗
An API documentation generator for Laravel apps: https://github.com/Radiergummi/laravel-openapi