pccomponentes/documentation-bundle
PcComponentes Documentation Bundle adds a structured documentation layer to PHP projects, helping teams organize, configure, and serve guides and reference material from within their application. It integrates with existing framework setups to keep docs easier to maintain and share.
This package is a Symfony bundle, not a Laravel package. For a Laravel developer, that distinction drives the entire assessment: there is no Artisan install command, no Laravel service provider documented, no Blade views, and no Laravel-specific configuration publishing flow described.
Minimal starting steps:
composer require pccomponentes/documentation-bundle
config/bundles.php.Where to look first:
DocumentationBundle.php — the bundle entry point and the file changed in v1.4.4. Start here to understand service wiring and extension configuration.First use case: serving version-controlled project documentation from inside a Symfony application instead of a separate static docs site. Add a small docs/ directory with an index page and one or two Markdown files, configure the source path, and verify the documentation route.
For a Laravel application specifically, do not assume php artisan vendor:publish exists or that Laravel auto-discovers the package. A Laravel integration would require manual wiring of Symfony bundle services, routing, and likely Twig-to-Blade adaptation. That is not a day-one drop-in workflow.
docs/. If the bundle maps folders to navigation, use subdirectories to create a hierarchy rather than inventing custom menus.bin/console debug:router in Symfony, or php artisan route:list only after a Laravel bridge is in place.bin/console cache:clear. If the bundle caches a documentation tree, stale navigation is a likely debugging symptom.bin/console debug:container and inspect DocumentationBundle.php when services are missing. The bundle entry point is the most reliable place to understand compiler passes and extension configuration.How can I help you explore Laravel packages today?