Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

[Proposal] @dd / @dump for debugging within blade views #705

Closed
MichaelHoughton opened this issue Jul 29, 2017 · 1 comment
Closed

[Proposal] @dd / @dump for debugging within blade views #705

MichaelHoughton opened this issue Jul 29, 2017 · 1 comment

Comments

@MichaelHoughton
Copy link

MichaelHoughton commented Jul 29, 2017

At the moment, if you need to debug in blade, you need to do the following:

@php
    dump($foo);
@endphp

I would like to propose adding two new options to blade -

@dd() and @dump() - both which do the same as above without needing to wrap it around php tags.

Would there be any support for this feature? I would be happy to submit a PR if there was support for the feature.

@MichaelHoughton
Copy link
Author

Apologies I see this was referenced at #590

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant