imateo/wn-dump-plugin

Winter CMS twig dump

Installs: 260

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:winter-plugin

dev-master 2021-04-21 10:24 UTC

This package is auto-updated.

Last update: 2024-04-21 17:29:33 UTC


README

OctoberCMS plugin that add Twig function d() for recursively dump passed variables only if app.debug is true

Usage

Dump a collection

{{ d(myVar) }}

Twig d() Collection demo

Dump multiple variables

{{ d(var1, var2) }}

dump mulitvars