Search by

simonschaufi / rule-doc-generator

simonschaufi

Documentation generator for coding standard or static analysis rules

Package info

github.com/simonschaufi/rule-doc-generator

pkg:composer/simonschaufi/rule-doc-generator

Statistics

Installs: 228

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v13.0.0 2026-11-06 20:58 UTC

This package is auto-updated.

Last update: 2026-11-07 17:29:05 UTC


README

Generate Documentation for your Sniffer, Fixer, Rector, PHPStan... any rule in nice styled Markdown syntax with PHP Code examples everyone will understand.

Downloads total

Install

composer require simonschaufi/rule-doc-generator --dev

Usage

To generate documentation from rules, use generate command with paths that contain the rules:

vendor/bin/rule-doc-generator generate src/Rules

The file will be generated to /docs/rules_overview.md by default. To change that, use --output-file:

vendor/bin/rule-doc-generator generate src/Rules --output-file docs/my-rules.md