承接 studioespresso/craft-dumper 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.

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

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

     composer require studioespresso/craft-dumper
    
  3. 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

GitHub 信息

  • Stars: 21
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-10-08