klitsche/dog
Dog is a lightweight source code documentation generator for PHP libraries. Built on phpDocumentor/reflection and Twig, it analyzes code and phpdoc, validates documentation with configurable rules, and outputs Markdown suitable for MkDocs and similar tools.
laravel/framework).@param types) via --analyze mode.Adopt if:
@param types, @return tags) without manual reviews.Look Elsewhere if:
zircote/swagger-php).*"Dog is a lightweight, automated tool to generate and enforce high-quality documentation for our PHP/Laravel projects. By integrating this into our workflow, we can:
@param types).Ask: "Should we pilot this for [high-visibility package] to test ROI?"
*"Dog replaces manual doc-writing with a PHPDoc linter + Markdown generator. Key benefits:
composer require klitsche/dog and configure .dog.yml.Example Workflow:
composer.json (dev dependency)..dog.yml to scan src/ and output to docs/api.vendor/bin/dog --analyze in CI to enforce standards.docs/api into your repo or deploy to a docs site.Trade-offs:
Next Steps:
--analyze to PR checks in GitHub Actions."*Visual Aid for Pitch:
Codebase → [Dog] → Markdown Docs → [MkDocs] → Published Site
↑
(PHPDoc Linter)
How can I help you explore Laravel packages today?