phpyh/service-dumper-bundle

Symfony console command to dump dependency injection services

Installs: 1 496

Dependents: 0

Suggesters: 0

Security: 0

Stars: 25

Watchers: 7

Forks: 2

Open Issues: 1

Type:symfony-bundle

0.3.4.6 2023-12-20 17:41 UTC

This package is auto-updated.

Last update: 2024-12-20 20:26:50 UTC


README

Symfony console command to dump dependency injection services.

Latest Stable Version Total Downloads psalm-level type-coverage Code Coverage Mutation testing badge

Installation

composer require --dev phpyh/service-dumper-bundle

Usage

bin/console service my_service another_service

Example

Configuration

service_dumper

phpyh_service_dumper:
    service_dumper: symfony_var_dumper

You can use var_dump, symfony_var_dumper, xdebug or any valid service id with class that implements PHPyh\ServiceDumperBundle\ServiceDumper.

By default, symfony_var_dumper is used if Symfony VarDumper component is available, var_dump otherwise.

service_finder

phpyh_service_dumper:
    service_finder: basic

You can use basic or any valid service id with class that implements PHPyh\ServiceDumperBundle\ServiceFinder.