studioespresso/craft-dumper
最新稳定版本:5.0.1
Composer 安装命令:
composer require studioespresso/craft-dumper
包简介
Bringing symfony/VarDumper to Craft CMS
README 文档
README
Easy dump & "dump&die" functions for Twig.
Requirements
This plugin works with Craft CMS 3, 4 or 5.
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 studioespresso/craft-dumper -
In the Control Panel, go to Settings → Plugins and click the “Install” button for Dumper.
Using Dumper
When you install the plugin, you'll be able to use Symfony\VarDumper in your Twig templates like this:
{{ d(entry) }}
Or you can "dump and die"
{{ dd(entry) }}
Works on strings, arrays, object, etc.
Brought to you by Studio Espresso
统计信息
- 总下载量: 245.83k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 21
- 点击次数: 1
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-10-08