Skip to content Skip to footer navigation

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 }}
@dd($food)
array:2 [▼
"delicious" => array:2 [▶]
]
Hot Tip!

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

A troll pointing a teaching stick