Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Taking your approach on designing things actually makes it fun, more natural, and overall easier.

— Dominik, Developer

console_log Modifier

Debug a variable by dumping its contents to your browser's JavaScript's console via console.log.

fruit:
- apples
- bananas
- bacon
{{ fruit | console_log }}
@php(Statamic::modify($fruit)->consoleLog())
["apples", "banana", "jerky"]
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →