adrianfalleiro / twig_debug-plugin

Plugin for PyroCMS to enable debugging in Twig templates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twig Debug Plugin

This plugin is currently a work-in-progress and has not been been fully tested.

This plugin is an addon for PyroCMS 3.x and provides a the dd() and dump() functions in Twig.

Use {{ dump(object)}} or {{ dd(object) }} to dump the contents of an object in a Twig template.

Usage

Install the plugin with Composer

$ composer require adrianfalleiro/twig_debug-plugin

About

Plugin for PyroCMS to enable debugging in Twig templates

License:MIT License


Languages

Language:PHP 100.0%