Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Api Doc Bundle Laravel Package

pdfloresjdav/api-doc-bundle

pdfloresjdav/api-doc-bundle is a Symfony bundle that turns PHP API metadata into readable documentation, helping teams publish endpoint references, schemas, and request/response details with minimal setup. It fits into existing Symfony projects and aims to make API docs easier to generate and mainta...

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • API-as-a-product roadmap. Annotation-driven documentation is the cheapest way to ship a developer-facing reference for an existing REST API. This capability underpins decisions like "can we open this API to partners this quarter?" and "do we need a developer portal, or just a docs page?"
  • Build vs. buy vs. fork. The package is a fork of the well-known Symfony NelmioApiDocBundle (the repo URL confirms the upstream lineage). The real decision is not "adopt this" but "adopt upstream, adopt a maintained alternative, or maintain an internal fork" — and this listing is evidence that forks exist, not that they are worth taking on.
  • Time-to-first-call as a success metric. Docs generated from code reduce integration support tickets and onboarding time for internal teams and external consumers. That is a measurable input into partner-facing commitments and SLAs.
  • Contract drift reduction. Generating docs from annotations keeps the reference close to the implementation, which supports decisions about deprecation policy, versioning strategy, and whether to move to a spec-first (OpenAPI) workflow.
  • Framework mismatch is itself a decision input. Despite being framed as a "Laravel/PHP package," this is a Symfony bundle. For a Laravel codebase, treat it as out of scope and evaluate Laravel-native generators (e.g., Scribe, Scramble, l5-swagger) or spec-first tooling instead.

When to Consider This Package

Consider it only when all of the following hold:

  • The codebase is Symfony, not Laravel (the bundle's event listeners, config tree, and DI wiring are Symfony-specific).
  • You need annotation/attribute-driven documentation and the upstream NelmioApiDocBundle genuinely cannot meet a specific requirement.
  • You have a named internal owner who will maintain the fork, track upstream releases, and carry security patches — because the listing shows 0 stars and 0 dependents, meaning no external validation and no community safety net.
  • The fork's diff from upstream is small, reviewable, and licensed compatibly (verify MIT/upstream license inheritance before shipping).

Look elsewhere when:

  • You need active maintenance, CVE response, or community support — a zero-signal fork has a bus factor of one.
  • You are on Laravel — use Laravel-native options, or generate from an OpenAPI spec.
  • You want a spec-first workflow (design the contract, generate docs and stubs) rather than deriving docs from annotations.
  • Your API surface is public and contractual: prefer a maintained, versioned upstream dependency over a personal fork.

How to Pitch It (Stakeholders)

To executives: The capability — auto-generated, always-current API documentation — is worth funding. It shortens partner integration cycles, reduces support load, and makes an "open our API" roadmap credible. This specific package is not the recommendation. It is an unmaintained-looking personal fork with zero adoption signal, which means unbounded maintenance risk and no vendor or community backing. Recommend a spike to compare the maintained upstream and Laravel/Symfony-native alternatives, and budget a small owner for whichever we pick. Expected effort is low; the risk of adopting the fork is high relative to the near-zero cost of using the maintained original.

To engineering: The underlying approach — derive the reference from annotations so docs and code cannot silently diverge — is sound and already proven in the upstream project this forks. Do not pull this fork into a production dependency graph without a diff review and a maintenance owner. Instead, evaluate the upstream bundle directly if we are on Symfony, or a maintained Laravel-native generator if we are on Laravel, and confirm license compatibility before adoption.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource