egulias/tag-debug
Fetch and inspect tagged services from a Symfony DependencyInjection ContainerBuilder. TagFetcher returns tags grouped by tag name with service class, Tag metadata, and Definition. Supports composable AND filters (e.g., by tag name) or custom filters.
monolog.logger, twig.extension) during refactoring or dependency updates.ContainerBuilder).symfony/var-dumper or symfony/profiler.debug:container CLI command for basic inspection.symfony/dependency-injection + custom scripts for advanced use cases.For Executives: "This lightweight library provides a programmatic way to audit and debug Symfony service tags—critical for maintaining complex applications built on Symfony/Laravel. It reduces manual configuration checks during debugging, speeds up troubleshooting, and aligns with our use of Symfony’s DI container. The MIT license and open-source nature eliminate licensing costs, while the minimal overhead makes it a low-risk addition."
For Engineering/DevOps: *"TagDebug lets us programmatically inspect tagged services (e.g., event listeners, compiler passes) in Symfony’s DIC, which is invaluable for:
monolog.logger or twig.extension during runtime issues.For Developers:
*"If you’re working with Symfony’s service tags and tired of manually grepping services.yaml or config.php, this library lets you fetch and filter tagged services via code. Example:
$tags = (new TagFetcher($container))->fetch(new FilterList([new Name('logger')]));
Pros: No CLI dependency, extensible filters. Cons: Old (2014), so test thoroughly. For modern Laravel, check if it works with symfony/dependency-injection."*
How can I help you explore Laravel packages today?