Download the PHP package klitsche/dog without Composer
On this page you can find all versions of the php package klitsche/dog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package dog
Short Description Source code documentation generator for PHP libraries
License MIT
Homepage https://klitsche.github.io/dog/
Informations about the package dog
Dog
Dog is a slim source code documentation generator for PHP libraries. It´s a thin layer around phpdocumentor/reflection and twig.
WIP: Expect breaking changes along all 0.* pre-releases.
Features
- Easily generates source code documentation
- Looks into code and phpdoc
- Helps to optimize code and phpdoc for documentation with customizable rules (based on proposed PSR-19)
- Outputs markdown (e.g. for use with mkdocs-material)
- Analyzes source code PHP ^5.2
- Provides support for custom printer logic & easy templating (planned)
- Provides support for custom enricher logic to add relevant & related data
Runtime Requirements
- PHP ^8.0
Suggested:
- json extension to enrich
phploc
data - simplexml extension to enrich
clover
coverage data
Quick Start
Add to your project:
composer require --dev klitsche/dog
Create config file .dog.yml
in your project root directory and edit it.
Example:
Analyze code and phpdoc first, then generate documentation:
vendor/bin/dog
Analyze code & phpdoc and find potential documentation issues without generating documentation:
vendor/bin/dog --analyze
Generate documentation without analyzing it first:
vendor/bin/dog --generate
Documentation
https://klitsche.github.io/dog/
Todos
- [x] Add code style checks
- [x] Add GitHub actions
- [x] Add cmd interface for dog bin
- [x] Add validation rules
- [x] Add documentation (mkdocs, github page)
- [x] Add tests
- [x] Add support for printer config - eg. templatePath
- [x] Add phar packaging
- [ ] Improve description printing - (inheritDoc, inline tags, ...)
- [ ] Add direct element interface for proposed PSR-19 tags
- [ ] Add phive packaging
All versions of dog with dependencies
phpdocumentor/reflection Version ^4.0 || ^5.0
twig/twig Version ^3.0
symfony/console Version ^5.0 || ^6.0
symfony/event-dispatcher Version ^5.0 || ^6.0
symfony/filesystem Version ^5.0 || ^6.0
symfony/finder Version ^5.0 || ^6.0
symfony/stopwatch Version ^5.0 || ^6.0
symfony/yaml Version ^5.0 || ^6.0