timeinc/swagger-bundle
A Symfony bundle that generates Swagger/OpenAPI documentation for your REST API from PHP annotations, keeping interactive specifications in sync with your code and making it easy to expose and maintain API docs alongside your application.
zircote/swagger-php or nelmio/api-doc-bundle?"Consider only if:
swagger-php annotations in controllers and entities.swagger-php into Symfony's DI/container and expose a documentation route, without writing that plumbing yourself.Look elsewhere — and this is the default recommendation — if:
nelmio/api-doc-bundle (the de facto Symfony standard) or swagger-php directly.swagger-php version before assuming support.To executives (one paragraph):
We evaluated timeinc/swagger-bundle, a Symfony integration for annotation-based Swagger/OpenAPI generation. It is effectively a thin convenience wrapper with no measurable adoption (no stars, no dependents, no active maintenance signal). Adopting it would save roughly a day of setup while creating an unpatched, unsupported dependency in our API documentation path — the exact layer partners and gateways read from. Recommendation: do not adopt; standardize on a maintained alternative (nelmio/api-doc-bundle for Symfony, or swagger-php used directly). The strategic decision — annotation-driven vs. spec-first API documentation — is worth making now regardless of tool, because it gates partner onboarding, SDK generation, and gateway automation.
To engineering (one paragraph):
This is swagger-php plus Symfony container/route wiring. If we're on a legacy Symfony app with annotations already written, it's a short-term bridge at best; on Symfony 5+ with PHP 8 attributes, it's the wrong abstraction. We get the same output by using swagger-php directly or nelmio/api-doc-bundle, both of which are actively maintained and have real user bases. Propose a short spike on Nelmio (one controller, one spec export, one CI schema-diff check) and treat this package as historical reference only.
How can I help you explore Laravel packages today?