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.

Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →