gohiei/api-doc-bundle
gohiei/api-doc-bundle is a PHP package for generating browsable API documentation from your application's routes and annotations. It keeps endpoint references close to the code, making internal or public API docs easier to maintain and share with your team.
Consider it only as a fork under ownership. This is a fork of nelmio/NelmioApiDocBundle, a well-established Symfony bundle for generating Swagger/OpenAPI documentation from annotations. The fork itself shows no adoption signal and no releases since 2019. It is viable only if you (a) have a specific patch you need to pin, (b) have a named maintainer who will own dependency bumps and security patches, and (c) have a documented route back to upstream.
Look elsewhere in most cases:
dedoc/scramble, knuckleswtf/scribe, darkaonline/l5-swagger, or zircote/swagger-php instead.nelmio/api-doc-bundle directly. It's maintained and supports modern PHP attributes and OpenAPI.Adoption checklist: maintenance cadence, license compatibility, security advisory process, CI coverage against your exact PHP/framework versions, and an explicit exit/migration plan. This package fails at least three of these on inspection.
Bottom line up front: the pattern — generating API docs from controller annotations so documentation cannot drift from code — is sound and worth adopting. This specific fork is not a recommendation. It is an unmaintained 2019 copy of a package that is actively maintained elsewhere. Recommend a short spike using the upstream bundle (Symfony) or a Laravel-native equivalent, and treat this fork as reference material only.
To executives: the value is faster partner/customer integration and lower support load; the cost is engineering ownership, not licensing. Adopting a stale fork converts a small tooling decision into a permanent maintenance liability and a supply-chain review item — a poor trade for a docs generator.
To engineering: low effort on Symfony via upstream; non-trivial on Laravel because this is a Symfony bundle requiring adaptation. The fork carries stale dependency constraints, no PHP 8 attribute support guarantees, and no security patch path. Flag it in dependency review rather than importing it transitively.
Recommended next step: one-day spike comparing upstream nelmio/api-doc-bundle against your framework-native options, with a single success criterion — docs generated from existing controllers with no manual step — and a hard rule that any docs tool we adopt must have a release in the last 12 months and at least one named owner internally.
How can I help you explore Laravel packages today?