It helps you to know which services are instanciated, removed, public and list container parameters.
You have access to Container cache statistics: files count, code lines count and cache size.
With Symfony, a new profiler tab will appear:
If you want to use it with symfony/dependency-injection ^3.4
, use steevanb/symfony-container-introspection ^1.0.
If you want to use it with symfony/dependency-injection ^4.0
, use steevanb/symfony-container-introspection ^1.1.
composer require --dev steevanb/symfony-container-introspection ^3.1
If you use Symfony (and not just symfony/dependency-injection
), you can add ContainerIntrospectionBundle
to your Kernel:
# config/bundles.php
<?php
return [
Steevanb\ContainerIntrospection\Bridge\ContainerIntrospectionBundle\ContainerIntrospectionBundle::class => ['dev' => true]
];