streamlike/api-doc-bundle
A Symfony bundle for generating API documentation directly from your application. It integrates with your existing PHP setup to expose routes and metadata, helping teams build browsable reference docs with minimal configuration.
Consider it only under narrow conditions:
Look elsewhere when:
For executives: This is a small, zero-adoption open-source component that turns code annotations into REST API documentation, so docs stay in sync with the code that ships. The strategic value is real — accurate API docs shorten partner integration cycles and reduce support load — but this specific package is the wrong vehicle: it is an unmaintained-looking fork of a mature Symfony bundle, with no community and no downstream users, and it does not fit a Laravel stack. Recommend we treat it as a reference implementation, not a dependency, and standardize on a maintained alternative for the framework we actually run.
For engineering: The underlying approach — generate OpenAPI from annotations at build time, publish the spec as a CI artifact, and diff it on pull requests — is worth adopting. The bundle itself is a Symfony-only fork of NelmioApiDocBundle with no visible maintenance signal; vendoring it means we own its upgrade path and any security response. If we are on Symfony, propose depending on upstream Nelmio directly and documenting any patch we actually need. If we are on Laravel, propose Scramble or Scribe and evaluate against three criteria: attribute support on PHP 8, OpenAPI 3.1 output fidelity, and whether the spec can be emitted non-interactively for CI. Either way, the decision to record is code-first versus contract-first, because that choice constrains our API review process for the next several years.
How can I help you explore Laravel packages today?