Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/steevanb/symfony-container-introspection

Introspect Symfony container to show instantiated services, public/private, lazy, parameters etc.
https://github.com/steevanb/symfony-container-introspection

bundle container php symfony

Last synced: 19 days ago
JSON representation

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

Awesome Lists containing this project

README

        

[![Version](https://img.shields.io/badge/version-3.1.0-4B9081.svg)](https://github.com/steevanb/symfony-container-introspection/tree/3.1.0)
[![php](https://img.shields.io/badge/php-^7.1||^8.0-blue.svg)](https://php.net)
![Lines](https://img.shields.io/badge/code%20lines-1,891-blue.svg)

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_tab.png)

![Symfony profiler](symfony_profiler.png)

[Changelog](changelog.md)

If you want to use it with `symfony/dependency-injection ^3.4`, use [steevanb/symfony-container-introspection ^1.0](https://github.com/steevanb/symfony-container-introspection/tree/1.0.x).

If you want to use it with `symfony/dependency-injection ^4.0`, use [steevanb/symfony-container-introspection ^1.1](https://github.com/steevanb/symfony-container-introspection/tree/1.1.x).

Installation
============

```bash
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:
```php
# config/bundles.php
['dev' => true]
];
```