t3docs/fluid-documentation-generator
Generates automatic Fluid ViewHelper reference documentation in RST format from JSON config files, including navigable namespace and ViewHelper pages plus a JSON asset for rendering with render-guides.
--dev dependency and one CLI invocation in CI. The PM decision is which side of that trade we want to fund.FLUID_DOCUMENTATION_OUTPUT_DIR and generation is a single command, this is trivially schedulable. The decision: does the docs build run nightly (best effort, rot is possible) or block the release tag (docs must regenerate cleanly, rot is impossible)? The second is cheaper to defend and more expensive to wire.render-guides is already in the pipeline, this slots in rather than adding a static-site stack. The PM value there is fewer tools we own, which usually outweighs the feature list.render-guides directive. That defines what the docs site can be: a structured technical reference — not a tutorial site, marketing site, or interactive playground. Write that boundary down so stakeholders don't assume more.Worth evaluating when:
render-guides. If that pipeline exists, integration cost is close to zero; if it doesn't, you are standing up a rendering stack to consume the output.--dev dependency inside the Composer project that contains the ViewHelpers. This is a hard structural constraint, not a preference. A repo that only consumes ViewHelpers from vendor/ is a poor fit.Look elsewhere when:
Price in a fallback: phpDocumentor for non-Fluid classes, or a hand-rolled Markdown generator if the RST constraint ever disappears.
For executives
Our Fluid ViewHelper reference is maintained by hand, so it drifts and consumes senior engineering time on work that doesn't differentiate the product. This package generates that reference from the source code at build time — one dev dependency and one command in CI. What it buys: documentation that can't silently go stale, faster onboarding for developers joining our TYPO3 work, and fewer support questions about correct ViewHelper usage. It plugs into the documentation pipeline we already run, so there's no new platform to operate or license.
Two caveats worth stating up front. First, this is not a Laravel tool — it applies only to the TYPO3/Fluid part of our estate, and if that surface area is small or shrinking, we should decline it and close the question. Second, it is a narrow tool with a very small public user base, so we'd be an early adopter. I'd treat it as a bounded experiment with a named success metric — e.g. zero manual edits to the ViewHelper reference for two release cycles — and a clear exit if it doesn't hold.
For engineering
One
--devComposer dependency, installed inside the project that owns the ViewHelpers. JSON config per package — name, namespace alias, target namespace — validated against a shipped schema. One CLI invocation per config, wildcards and ordering supported, output directed viaFLUID_DOCUMENTATION_OUTPUT_DIR. Result is an RST tree plus a JSON metadata file thatrender-guidesturns into the published reference.What we own: the config files (small, version-controlled), the CI job, and the rendering stack. What we don't own: keeping the parameter tables in sync with the code — that comes from the ViewHelpers themselves. The realistic risks are RST/
render-guidesunfamiliarity and the low-traffic upstream; pin the version and read the source before upgrading across a major.
How can I help you explore Laravel packages today?