304

Product support

Visit this product's website for support.

Categories

Adds the d() function to Twig to recursively dump provided variables in the same manner as Laravel's dd() function. Unlike Twig's native dump() function, d() displays all nested members of the provided variables.

Twig d() Collection demo

Support

Please use GitHub Issues to report any issues with this plugin.

Reviews should not be used for getting support or reporting bugs, if you need support please use the Plugin support link.

Thanks

Thanks to Inetis for his original Twig Dump plugin from which I started this one.

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

  • Found the plugin useful on 3 Sep, 2018

    Definitely useful plugin! Thank you @davask!

  • author

    Replied on 3 Sep, 2018

    Thanks Yn D'sign, you can thanks @Inetis who is originaly the developer of the plugin, I just added my own touch to it to be environment dependent.

1.0.2

Change Icon and add thanks to Inetis

Mar 02, 2018

1.0.1

Integrate debug conditional

Feb 27, 2018

1.0.0

First version based on Twig Dump

Feb 27, 2018