Skip to content Skip to footer navigation
🏰 Statamic Summit 2027 Feb 16–19 Talks, workshops, and three nights in a German castle. Get Tickets

Dump Modifier

Dump a variable to the browser and see under the hood with data types and array exportation. Definitely just for debugging when in development.

food:
delicious:
- bacon
- sushi
{{ food | dump }}
@dump($food)
array:1 [▼
"delicious" => array:2 [▶]
]
Hot Tip!

You can also use the dump tag to achieve a similar effect.

A troll pointing a teaching stick