Baldinof / roadrunner-bundle

A RoadRunner worker integrated in your Symfony app
MIT License
255 stars 46 forks source link

Dumper Helper #47

Open L3tum opened 3 years ago

L3tum commented 3 years ago

Hey, the roadrunner-laravel integration has released a useful utility: the Dumper. That makes dump and dd available through rr\dump and rr\dd.

Is this something you have on the roadmap to do?

I already did some basic integration into one of our projects and could provide a PR if you wanted to. May take a few days though because I'm swamped a bit with work

Baldinof commented 3 years ago

Hi! Thanks for opening this :)

Regular dumps already works, it dumps in the HTML if dumped from twig and in the debug toolbar if called from PHP code, see:

Symfony Dumps with RoadRunner

I have nothing planned to add a dedicated rr\dd function, but I would accept a PR if it's useful to users and has no overread when running in production mode.