t3docs/fluid-documentation-generator
Generates automatic TYPO3 Fluid ViewHelper reference documentation in RST. Configured via JSON files, it builds navigable RST pages plus a JSON index for Fluid namespaces and ViewHelpers, ready to render with TYPO3 render-guides.
render-guides and RST workflows. This makes it a poor fit for Laravel/Blade or non-TYPO3 PHP projects, where alternative tools (e.g., phpDocumentor, spatie/laravel-blade-directives) would be more appropriate.@param, @return, @description) for metadata. Laravel’s native components (e.g., Blade directives, Facades) lack this structure, necessitating custom annotations or a mapping layer to adapt existing code.rst2html or custom scripts).@component, @stack) are not Fluid ViewHelpers, so the package would ignore them unless wrapped in a Fluid-compatible layer.App\View\Components) differs from Fluid’s Vendor\Package\ViewHelpers, requiring custom configuration to map Laravel classes to Fluid-like structures.schedule:run (if tied to a command).php artisan api:docs for APIs, phpDocumentor for classes) for a unified output.namespaceAlias, targetNamespace). Laravel projects would need to map their namespaces to this schema, risking configuration errors.render-guides already in use?
Laravel Stack Compatibility: Low to Medium
Artisan commands or custom scripts).render-guides, Sphinx) and needing to document Fluid ViewHelpers alongside Laravel code.Alternative Laravel Tools:
spatie/laravel-blade-directives + phpDocumentor.knuckleswtf/scribe or darkaonline/l5-swagger.phpDocumentor or erusev/parsedown-extra.Assess Scope:
Pilot Phase:
composer require --dev t3docs/fluid-documentation-generator
App\ViewHelpers):
{
"name": "LaravelExtension",
"namespaceAlias": "laravel",
"targetNamespace": "http://laravel.org/ns/App/ViewHelpers"
}
vendor/bin/fluidDocumentation generate path/to/config.json
Integration Phase:
rst2html or a custom script.render-guides):
render-guides to render both Laravel and TYPO3 docs in a unified site.CI/CD Integration:
# Example GitHub Actions step
- name: Generate Fluid Docs
run: vendor/bin/fluidDocumentation generate config/*.json
Annotation Backfill:
@param, @return). Use a script to auto-generate missing docs or enforce via PSR-12 + custom linting.| Factor | Compatibility |
How can I help you explore Laravel packages today?