Dump Tag
The dump tag is used for debugging data inside your current view context.
Overview#
This tag is useful for debugging. It will render the raw data of the variables in your current context (page, variable loop, etc).
Dropping it in a template or layout will show you all the data that's been injected into the view layer.
{{ dump }}
<statamic:dump />
Dropping it inside a loop will dump all the data just for that loop context.
{{ gallery }}
{{ dump }}
{{ /gallery }}
@foreach ($gallery as $item)
{{-- Using the Statamic tag --}}
<statamic:dump />
{{-- Using Blade Directives --}}
@dd($item)
@endforeach
Docs Feedback
Submit improvements, related content, or suggestions through Github.
Betterify this page