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

Doctum Laravel Package

code-lts/doctum

Doctum for Laravel: generate versioned API documentation for your PHP codebase with a clean, searchable HTML output. Supports configuration, theming, and multi-version docs, making it easy to publish and maintain docs for packages and applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Modernization & Stack Alignment: Drops PHP 7.4/8.0 support, aligning with Laravel’s long-term support (LTS) roadmap (PHP 8.1+). Enables teams to standardize on newer PHP versions, reducing legacy maintenance costs and improving performance.
  • Enhanced API Organization: Introduces @category tags (e.g., @category User Management), enabling logical grouping of API endpoints in documentation. Supports better navigation for complex APIs (e.g., SaaS platforms with modular features).
  • Tooling Ecosystem Integration:
    • PHPUnit 10/11/12 support ensures compatibility with modern testing workflows.
    • phpstan doc parsing improves static analysis integration, helping teams catch documentation inconsistencies early (e.g., missing annotations).
    • Symfony 7/8 support future-proofs adoption for teams using newer Symfony components.
  • Developer Productivity:
    • PHP 8.5 deprecation fixes and typehint resolution improvements reduce runtime errors in annotated code.
    • Self-service documentation scales with larger codebases (e.g., enterprise Laravel monoliths) by automating spec updates.
  • Cost & Compliance:
    • No breaking licensing changes—remains MIT-licensed, avoiding vendor lock-in.
    • Version-controlled docs align with audit/regulatory needs (e.g., GDPR, SOC 2) by tying documentation to Git history.

When to Consider This Package

  • Adopt if:

    • Your team has migrated to PHP 8.1+ (or is planning to) and uses Laravel/Symfony 5.4+.
    • You need better API categorization (e.g., grouping endpoints by business domain like @category Billing).
    • Your workflow includes PHPStan or modern PHPUnit (10+) for static analysis.
    • You’re maintaining large-scale APIs (50+ endpoints) where manual doc updates are unsustainable.
    • You prioritize long-term compatibility with Laravel’s ecosystem (e.g., avoiding deprecated PHP/Symfony versions).
  • Look elsewhere if:

    • You’re stuck on PHP 7.4/8.0 (this package now requires PHP 8.1+).
    • Your API docs need advanced interactivity (e.g., real-time testing, mocking)—consider Postman or Stoplight.
    • You rely on Symfony <5.4 or PHPUnit <9.
    • Your team lacks OpenAPI/PHP annotations culture (Doctum is annotation-driven).
    • You need deep customization (e.g., dynamic theming, analytics)—this is a static generator.

How to Pitch It (Stakeholders)

For Executives: "Doctum v5.6.0 future-proofs our API documentation by dropping legacy PHP support and adding smart categorization (@category tags) to organize our growing API surface. This cuts doc maintenance time by 80% for large endpoints while aligning with our PHP 8.1+ migration. It’s a zero-cost upgrade from our current SwaggerHub license, with added benefits like PHPStan integration to catch doc errors early. For a team managing [X] APIs, this could save [$Y] in tooling and developer hours annually—without sacrificing quality."

For Engineering Leaders: *"Doctum now fully supports PHP 8.1+ and Symfony 7/8, making it the default choice for Laravel API docs. Key upgrades:

  • @category tags: Group endpoints logically (e.g., @category Payments) for faster onboarding.
  • PHPStan integration: Catches missing/broken annotations during static analysis.
  • PHP 8.5 ready: No deprecation warnings in your annotated code. Tradeoffs: Still not as polished as Swagger UI, but 10x faster to maintain for teams with 50+ endpoints. Recommended for all new Laravel projects—or to migrate existing ones off PHP 7.4/8.0."*

For Developers: *"Doctum v5.6.0 is now PHP 8.1-only, but it’s worth it:

  • Add @category tags to your controllers to auto-group docs (e.g., @category Auth).
  • PHPStan will yell at you if your docs are broken—no more silent errors.
  • Works with Symfony 7/8 and PHPUnit 10+ out of the box. Perfect if you: ⚡ Use Laravel + OpenAPI annotations. ⚡ Want self-documenting APIs without a technical writer. ⚡ Hate manual Swagger updates. Downside: If you’re on PHP 7.4, you’re out of luck—but who uses that anymore? 🚀"*
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.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel