Ross ROSS = Recommend OSS · open-source software intelligence for agents

zircote/swagger-php

A php swagger annotation and parsing library observed · 2026-08-28

github.com/zircote/swagger-php · homepage · PHP · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

95/100

  • Activity 99
  • Release rhythm 87
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 6.0
  • age_days: 5275
  • days_rel: 9
  • days_push: 7
  • n_releases_24m: 65

Full methodology

Adoption not part of the score

5306 stars · 937 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A PHP library that generates OpenAPI (Swagger) documentation for RESTful APIs using PHP 8 attributes or legacy doctrine annotations embedded in source code. It supports OpenAPI 3.0, 3.1, and 3.2 specs and can be used programmatically or via a command-line tool.

Use cases

  • generate OpenAPI documentation from PHP source code
  • document a RESTful API with PHP attributes
  • produce swagger. or openapi.yaml specs for a PHP API
  • keep API docs in sync with code via docblock annotations
  • generate OpenAPI 3.1 specs from a PHP codebase
  • add interactive API documentation to a PHP backend

When to choose

  • you maintain a PHP REST API and want OpenAPI docs generated from the code itself
  • you want documentation colocated with controllers using PHP 8 attributes
  • you need CLI or programmatic generation of OpenAPI 3.0/3.1/3.2 specs

When to avoid

  • your API is not written in PHP
  • you prefer writing OpenAPI specs by hand or from a design-first workflow
  • you rely on doctrine annotations without wanting an extra dependency (attributes are preferred)

Facets

library · maturity active

api-framework documentation parser cli apis documentation web-development developer-tools php cli cross-platform openapi swagger api-docs php-attributes rest-api

2 sources

Member repositories

RepositoryRoleHealth v2
zircote/swagger-phpmain95

For agents

markdown · JSON · MCP: product_card(name="zircote/swagger-php")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem