定制 sunra/dbug 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

sunra/dbug

最新稳定版本:0.2.1

Composer 安装命令:

composer require sunra/dbug

包简介

Most beautiful variable dump library for PHP (ColdFusion like style)

README 文档

README

  • Updated for PSR-4 copmliance
  • created composer package

NEW

  • Updated to version from August 6th, 2012 of Ospinto's code
  • move to psr-4

Usage

Twig Filter - https://github.com/sunra/dbug-twig-extension

or

Install via Composer - https://packagist.org/packages/sunra/dbug

Class will be autoloaded.

usage

 new \Ospinto\dBug($myVariable);

Class arguments:

__construct ($var,$forceType="",$bCollapsed=false, $var_name='') $var - variable to dump, $bCollapsed - view collapsed $var_name - name of variable - displayed in dump header 

More examples at http://dbug.ospinto.com/examples.php

Features

PHP version of ColdFusion’s cfdump.

Outputs colored and structured tabular variable information.

Variable types supported are: Arrays, Classes/Objects, Database and XML Resources.

Ability to force certain types of output. Example: You can force an object variable to be outputted as an array type variable.

Stylesheet can be easily edited.

Table cells can be expanded and collapsed.

It’s FREE!!!

统计信息

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

GitHub 信息

  • Stars: 9
  • Watchers: 2
  • Forks: 56
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固