phpyh / service-dumper-bundle
Symfony console command to dump dependency injection services
Installs: 1 076
Dependents: 0
Suggesters: 0
Security: 0
Stars: 25
Watchers: 7
Forks: 2
Open Issues: 1
Type:symfony-bundle
Requires
- php: ^8.1
- ext-mbstring: *
- psr/container: ^2
- symfony/config: ^6 || ^7
- symfony/console: ^6 || ^7
- symfony/dependency-injection: ^6 || ^7
- symfony/http-kernel: ^6 || ^7
Requires (Dev)
- ergebnis/composer-normalize: ^2.36
- friendsofphp/php-cs-fixer: ^3.26.1
- icanhazstring/composer-unused: ^0.8.10
- infection/infection: ^0.27.7
- maglnet/composer-require-checker: ^4.7.1
- phpunit/phpunit: ^9
- phpyh/coding-standard: ^2.5.0
- psalm/plugin-phpunit: ^0.18.4
- psalm/plugin-symfony: ^5.0
- rector/rector: ^0.18.8
- symfony/filesystem: ^6.3 || ^7.0
- symfony/framework-bundle: ^6.3 || ^7.0
- symfony/var-dumper: ^6.3.4 || ^7.0
- vimeo/psalm: ^5.15.0
README
Symfony console command to dump dependency injection services.
Installation
composer require --dev phpyh/service-dumper-bundle
Usage
bin/console service my_service another_service
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
.