Use this package if:
var_dump).Look elsewhere if:
symfony/var-dumper or symfony/debug-bundle instead.psy/psysh directly.*"This package integrates the powerful PsySH REPL into Symfony 2.x projects, giving our developers a supercharged debugging tool—like an interactive shell for PHP. It’s a lightweight, MIT-licensed solution that:
For a one-time setup in dev/test environments, this could cut debugging time by 30%+—worth evaluating for projects stuck on Symfony 2.x."*
*"This is a Symfony 2.x port of PsySH, the PHP REPL tool. It lets you:
var_dump($container->get('service')) becomes $service = $container->get('service'); $service->method()).How to adopt:
composer require --dev ameenross/psysh-bundle.AppKernel.php (only in dev/test).php app/console psysh to start the REPL.Trade-offs:
Alternatives: If you’re open to upgrading, Symfony 3+ bundles include better debugging tools. Otherwise, this is a zero-cost win for productivity."*
How can I help you explore Laravel packages today?