Skip to content

Introspect Symfony container to show instantiated services, public/private, lazy, parameters etc.

Notifications You must be signed in to change notification settings

steevanb/symfony-container-introspection

Repository files navigation

Version php Lines

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:

Symfony profiler tab

Symfony profiler

Changelog

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]
];

About

Introspect Symfony container to show instantiated services, public/private, lazy, parameters etc.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published