承接 mark-wff/craft-var-dumper 相关项目开发

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

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

mark-wff/craft-var-dumper

最新稳定版本:v1.4.0

Composer 安装命令:

composer require mark-wff/craft-var-dumper

包简介

Adds Symfony Var-Dumper to Craft CMS

README 文档

README

Activates the Symfony VarDumper in Twig. The VarDumper component provides mechanisms for extracting the state out of any PHP variables. Built on top, it provides a better dump() function that you can use instead of var_dump. With a nice Frontend-View.

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 mark-wff/craft-var-dumper
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Craft-Var-Dumper.

Using Craft-Var-Dumper

some Twig-Demo's:

    // dump everything.
    {{ dump() }}

    // dump Variable.
    {{ dump(myVariable) }}

    // dump multiple Variables.
    {{ dump(myVariable, mySecondVariable) }}

Craft-Var-Dumper Roadmap

Brought to you by Mark Wolff

统计信息

  • 总下载量: 2.91k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-06-18