zircote/swagger-php
A PHP library that generates OpenAPI documentation for REST APIs from attributes and phpdoc comments placed directly on classes and methods. It supports OpenAPI 3.0, 3.1 and 3.2, resolves native and generic type hints into schemas, and reports errors with hints and context. Documentation can be built programmatically through a Builder or exported to YAML and JSON with the openapi command line tool, on PHP 8.2 or later.
Maintenance activity