- Can I install kreta/simple-api-doc-bundle in a Laravel application?
- No. kreta/simple-api-doc-bundle is a Symfony bundle built on top of NelmioApiDocBundle, and Laravel does not provide Symfony's bundle registration, AppKernel, or the nelmio_api_doc configuration tree it expects. Installing it as-is in Laravel is not a supported path; any Laravel use would require a port or, more sensibly, a maintained Laravel-native replacement.
- Is kreta/simple-api-doc-bundle still maintained?
- It is effectively abandoned. The last release was 2016-02-01, there are no commits since then, and the package has 0 stars and 0 dependents. There is no maintainer or security response path, so production use is not advisable.
- What Laravel versions does kreta/simple-api-doc-bundle support?
- None officially. The bundle targets Symfony 2.x/3.0 and an older NelmioApiDocBundle v2.x line, which constrains PHP to roughly 5.5–7.0. It does not support modern Laravel versions or PHP 8.x, and there is no Laravel integration layer.
- How do I install kreta/simple-api-doc-bundle?
- In a Symfony app you would install it with Composer, register the bundle in AppKernel, and configure NelmioApiDocBundle. On modern PHP and Symfony versions, dependency resolution will likely fail because the pinned upstream packages are stranded. For Laravel there is no supported installation path.
- What is the best Laravel alternative to kreta/simple-api-doc-bundle for API documentation?
- For Laravel, use knuckleswtf/scribe for attribute-driven docs with Postman and OpenAPI export, or dedoc/scramble for zero-annotation route introspection. If you need strict OpenAPI 3 with Swagger UI, darkaonline/l5-swagger plus zircote/swagger-php is the common choice. All are actively maintained and PHP 8.x compatible.
- Does kreta/simple-api-doc-bundle generate OpenAPI 3 or Swagger 2.0 docs?
- It wraps NelmioApiDocBundle v2.x, so its output is Swagger 2.0-era rather than OpenAPI 3. That schema mismatch can break modern API gateways and client generators. If OpenAPI 3 is a requirement, this bundle is not a fit.
- How does kreta/simple-api-doc-bundle discover routes and endpoints?
- In Symfony it reads PHP attributes/annotations on controllers and relies on Symfony routing plus Nelmio's extraction pipeline to discover endpoints. Laravel has no bundle runtime or equivalent Nelmio pipeline, so automatic route discovery would have to be reimplemented. In Laravel you would use a tool that introspects routes, controllers, and form requests directly.
- Can I use kreta/simple-api-doc-bundle in production?
- Not recommended. The package has been unmaintained since 2016 and pulls in unmaintained transitive Symfony components, creating supply-chain and CVE exposure. With zero dependents there is no field-tested usage or community triage to rely on. Treat it as a historical reference only.
- How do I test API documentation generated by kreta/simple-api-doc-bundle?
- There is no supported testing path because the bundle has no maintained test suite or community. In a Laravel replacement, assert the generated OpenAPI JSON or Markdown output in CI and add contract tests for downstream consumers. Testing the abandoned bundle itself is not worth the effort.
- What are the risks of porting kreta/simple-api-doc-bundle to Laravel?
- Porting is high effort and low value. The bundle is a thin convenience wrapper, so most of its behavior would need to be rebuilt for Laravel anyway. Replacing it with Scribe or Scramble is typically faster and gives you maintained OpenAPI 3 output.