richirm/qdump 问题修复 & 功能扩展

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

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

richirm/qdump

最新稳定版本:v0.9.6

Composer 安装命令:

composer require richirm/qdump

包简介

Improved var_dump()

README 文档

README

Improved var_dump() for PHP projects.

Requirements

The php-mbstring extension must be installed for QDump to work.

Install

You can install QDump into your project using composer:

cd your_project_directory
composer require --dev richirm/qdump

Or, if you don't use composer, you can download it from https://github.com/richi-rm/qdump and include the following line in your index.php:

include 'qdump/include.php';

Usage of dump()

First of all, you must instantiate a QDumper object:

require 'vendor/autoload.php';

$qd = new \RichiRM\QDump\QDumper();

or

$qd = new \RichiRM\QDump\QDumper('verbose');

QDump brings you two main methods: dump() and trace() To dump (to standard output or to a file, see Documentation) any expression or variable use the dump() method:

$foo = 'bar';
$qd->dump($foo);

You can also call dump() with more than one argument:

$foo = 'bar';
$baz = 'qux';
$qd->dump($foo, $baz);

Usage of trace()

You can view the call stack calling the trace() method:

$qd->trace();

Documentation

The documentation is in the doc/ folder of the project. At the moment it is only in Spanish (English translator is needed).

License

MIT License

Contact

You can contact the author of QDump at richiruizmartinez@gmail.com. Comments and suggestions are welcome.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-28