omouren/external-var-dumper-bundle 问题修复 & 功能扩展

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

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

omouren/external-var-dumper-bundle

Composer 安装命令:

composer require omouren/external-var-dumper-bundle

包简介

Externalize Symfony VarDumper dumps

README 文档

README

SensioLabsInsight

The ExternalVarDumperBundle allows you to redirect Symfony dumps (VarDumper) to an external web service. Usefull to debug applications like REST APIs, background console commands or other applications that you don't have a direct output or that you can't break with a dump in the middle of the response.

Installation

Via Composer

$ composer require omouren/external-var-dumper-bundle

Register the bundle in the application kernel :

<?php
// app/AppKernel.php
// ...
public function registerBundles()
{
    $bundles = [
        // ...
        new Omouren\ExternalVarDumperBundle\OmourenExternalVarDumperBundle(),
        // ...
    ];
// ...

Add configuration (optional) :

# app/config/config.yml
debug:
    dump_destination: "tcp://dumper-viewer:8080"

omouren_external_var_dumper:
    enabled: true

Usage

<?php
// ...
dump($var);

VarDumper Viewer

Viewer in Vue.js to catch and see your dumps : external-var-dumper-viewer

With Pre-built Docker image

# By default, internaly server use port 8080
$ docker run --rm -p 80:8080 -ti omouren/external-var-dumper-viewer:latest
# You can override it with custom port by an environment variable
$ docker run --rm -e "PORT=1337" -p 80:1337 -ti omouren/external-var-dumper-viewer:latest
# Now go to http://localhost:80

Var Dumper Viewer

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固