Skip to content

phpyh/service-dumper-bundle

Repository files navigation

PHPyh Service Dumper Bundle

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.