, (*1)
symfony-container-introspection
It helps you to know which services are instanciated, removed, public and list container parameters., (*2)
You have access to Container cache statistics: files count, code lines count and cache size., (*3)
With Symfony, a new profiler tab will appear:, (*4)
, (*5)
, (*6)
Changelog, (*7)
If you want to use it with symfony/dependency-injection ^3.4
, use steevanb/symfony-container-introspection ^1.0., (*8)
If you want to use it with symfony/dependency-injection ^4.0
, use steevanb/symfony-container-introspection ^1.1., (*9)
Installation
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:, (*10)
# config/bundles.php
<?php
return [
Steevanb\ContainerIntrospection\Bridge\ContainerIntrospectionBundle\ContainerIntrospectionBundle::class => ['dev' => true]
];