Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 951 Bytes

File metadata and controls

30 lines (21 loc) · 951 Bytes

About

OctoberCMS plugin to improve debugging in Twig.

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.

Installation

To install this plugin, use the following command:

composer require inetis/dump-plugin

Usage

Dumping a single variable

{{ d(myCollection) }}

Twig d() Collection demo

Dumping multiple variables

{{ d(var1, var2) }}

dump mulitvars

Author

inetis is a webdesign agency in Vufflens-la-Ville, Switzerland. We love coding and creating powerful apps and sites see our website.