Skip to content

sjelfull/craft-dumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dumper plugin for Craft CMS 3.x

A nicer dump()

Icon

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require superbig/craft-dumper
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Dumper.

Dumper Overview

Screenshot

Using Dumper

Call via the variable method:

{{ craft.dumper.dump(entries) }}

Call via the Twig filter:

{{ entries | dumper }}

or the shorter version:

{{ entries | dump }}

Brought to you by Superbig