gustavs-gutmanis/craft-symfony-dump 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

gustavs-gutmanis/craft-symfony-dump

Composer 安装命令:

composer require gustavs-gutmanis/craft-symfony-dump

包简介

Symfony `dump` twig filter for Craft CMS

README 文档

README

Symfony Dump Twig Filter allows using the dump twig filter in your craft templates for better debugging.

Requirements

This plugin requires Craft CMS 3.0.0 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 gustavs-gutmanis/craft-symfony-dump
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Symfony Dump Twig Filter.

Using Symfony Dump Twig Filter

Once the plugin is installed, you can use it in any of your twig templates to output debugging information.

{% set myData = {
    number: 1,
    string: 'some string',
    object: {
        property: 'this is a property',
    },
} %}

{{ myData|dump }}

This will yield the following result in your browser:

Screenshot

You can use the Symfony Dump filter on any object in twig.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-06-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固