alshenetsky / symfony-roadrunner-dumper
A replacement for dd() function which works in roadrunner
Installs: 6 739
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 1
Forks: 3
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.1.3
- symfony/var-dumper: ~3.3 || ^4.0 || ^5.0
This package is auto-updated.
Last update: 2024-11-12 05:06:05 UTC
README
symfony-roadrunner-dumper
Variable dumper for Symfony + Roadrunner applications
Using this bundle you can dump any variable using \dev\dd()
function just like a regular dd()
, even using a Roadrunner!
Install
Require this package with composer using the following command:
$ composer require --dev alshenetsky/symfony-roadrunner-dumper "^1.0"
RoadRunner use-case
For example, if you trying to dd('test');
somewhere, you will see something like that:
worker error: invalid data found in the buffer (possible echo)
But, if you would use this bundle like \dev\dd('test');
, it will work.
See also:
Same thing for Laravel framework: Stacked-dumper-laravel