phpdocumentor/guides-restructured-text
phpDocumentor guides reStructuredText parser. Converts reST documents into structured guide nodes for phpDocumentor’s Guides system, enabling documentation builds from .rst sources with directives, roles, includes, and cross-references.
Architecture fit remains strong for Laravel projects leveraging phpDocumentor for documentation, as this package extends support for reStructuredText (reST)—a critical format for Sphinx-based documentation workflows. The public repository (phpDocumentor/guides-restructured-text) now confirms active maintenance (0.3.6 release) and community validation (100+ stars, CI/CD pipelines, and a 100% test coverage badge in the repo). However, integration feasibility still requires validation:
phpdocumentor/reflection-docblock (v5.3+) and phpdocumentor/types (v2.2+), which may conflict with older Laravel/PHP stacks. PHP 8.0+ is now explicitly required (per composer.json), aligning with Laravel 9+.literalinclude parsing"). Assume partial support unless validated.artisan or stubs/—documentation must be manually triggered via CLI... code-block:: php inside .. include::)? Test with Laravel-specific examples (e.g., blade templates, Facade docs).UPGRADING.md if it exists.config/documenter.php (if used)? No evidence of plugin architecture.Stack fit:
phpdoc CLI can adopt this with minimal changes.spatie/laravel-docs).composer.json for conflicts with phpdocumentor/* packages (v5.3+ required)... literalinclude:: resources/views/blade.blade.php).app/Http/Controllers) and validate output in Sphinx.phpDocumentor/phpDocumentor (pure PHPdoc).composer.json to pin phpdocumentor/guides-restructured-text:^0.3.6.phpdoc:rest in the docs pipeline (e.g., GitHub Actions).php artisan doc:rest).sphinx-rtd-theme for rendering; test with make html in the _build/ directory.phpDocumentor/phpDocumentor with phpdocumentor/guides-restructured-text for reST-only projects..phpdoc files to .rst incrementally (tooling like pandoc may help).Maintenance:
php artisan doc:generate).symfony/yaml, ext-dom—may increase deployment size by ~5MB.
Support:--processes=4 flag if parallel parsing is needed.docs/_static/ assets). Use .gitignore for _build/.
Failure modes:conf.py) misinterprets reST directives, docs may render incorrectly (e.g., missing cross-references).phpdocumentor/reflection-docblock is in active development—major versions may require Laravel codebase updates.
Ramp-up:conf.py.phpdoc:rest → make html)..rst files (e.g., with rstcheck).How can I help you explore Laravel packages today?