superbig / craft-dumper
A nicer dump()
Installs: 86
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 2
Forks: 0
Open Issues: 0
Type:craft-plugin
Requires
- craftcms/cms: ^3.0.0-RC1
- symfony/var-dumper: ^4.0.0
This package is auto-updated.
Last update: 2024-10-27 03:21:25 UTC
README
A nicer dump()
Requirements
This plugin requires Craft CMS 3.0.0-beta.23 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require superbig/craft-dumper
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Dumper.
Dumper Overview
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