3 个仓库
Libraries designed to extract metadata from PHP source code to build API references.
Distinct from PHP Console Libraries: Shortlist candidates are for specific utilities like UUIDs or Routing, not for general API documentation extraction.
Explore 3 awesome GitHub repositories matching web development · PHP API Documentation Libraries. Refine with filters or upvote what's useful.
swagger-php 是一个 OpenAPI 规范生成器和 PHP API 文档库。它扫描 PHP 源代码属性和注解,以生成标准化的规范文件和交互式 API 参考。 该工具作为一个模式推断引擎,从原生 PHP 类型提示和泛型块中派生数据类型和模式。它使用基于反射的静态分析来提取元数据而不执行应用程序逻辑,并支持递归模式继承以合并来自父类和接口的定义。 该项目包括一个用于将 API 定义导出为静态 YAML 或 JSON 文件的命令行工具。它还提供了一个带有插件式处理逻辑的规范组装流水线,以修改源代码的分析或结构化方式。
Provides a library for creating interactive API references by extracting metadata directly from PHP source code.
phpDocumentor 是一个 PHP API 文档生成器和源代码分析器,将 PHP 文件和 DocBlocks 转换为结构化的 HTML API 参考。它作为一个静态站点生成器和自动化文档工具,旨在使技术文档与代码变更保持同步。 该项目的独特之处在于它充当 UML 图生成器,基于源代码分析通过 PlantUML 生成类图和架构图。它还支持技术手册编写,在自动生成的 API 参考旁边渲染手写的 Markdown 和 ReStructuredText 指南。 该工具提供了广泛的源代码分析能力,包括抽象语法树的生成、元数据标记以及文档继承的管理。它包括用于代码架构、元素可见性控制和版本化文档管理的可视化工具。 构建可以通过 XML 配置文件进行管理,以在持续集成管道中实现自动化生成。
Automatically generates searchable technical references for PHP classes and methods from source code and comments.
dumi is a static site generator and markdown-based documentation tool specifically designed for software component libraries. It transforms markdown files and source code into structured technical guides and API references. The project distinguishes itself by providing an interactive component playground that renders live, runnable code demos directly in the browser. It includes an automated API reference generator that parses source code to create documentation tables and property descriptions. Additionally, it supports a monorepo documentation workflow with source mapping and hot module rep
Automatically parses source code to generate documentation tables and property descriptions for components.