steevanb / symfony-container-introspection
Get all Symfony Container informations you need: registered services, instanciated services etc
Installs: 33 739
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 4
Forks: 2
Open Issues: 5
Type:lib
Requires
- php: ^7.1 || ^8.0
- symfony/dependency-injection: ^5.0 || ^6.0 || ^7.0
Requires (Dev)
- ocramius/proxy-manager: ^2.0
- symfony/config: ~5.0.0
- symfony/http-kernel: ~5.0.0
README
symfony-container-introspection
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.
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:
# config/bundles.php <?php return [ Steevanb\ContainerIntrospection\Bridge\ContainerIntrospectionBundle\ContainerIntrospectionBundle::class => ['dev' => true] ];