steevanb/symfony-container-introspection

Get all Symfony Container informations you need: registered services, instanciated services etc

3.1.0 2024-08-28 15:45 UTC

This package is auto-updated.

Last update: 2024-10-28 16:14:16 UTC


README

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