iextra/dumper
Composer 安装命令:
composer require iextra/dumper
包简介
Class for easy debugging
README 文档
README
Class for easy debugging
Installation (composer)
- Write a command to the console:
composer require iextra/dumper - Connect autoloader in your project:
<?php require 'vendor/autoload.php';
Alternative installation
- Download archive from repository https://github.com/iextra/dumper and unzip
- Copy the Dump.php file into your project and include it:
<?php require $_SERVER['DOCUMENT_ROOT'] . '/Dump.php';
Usage
Dump to Popup
<?php Extra\Dump::toPopup($data, 'label'); Extra\Dump::p($data); //Short call
Dump to File
<?php Extra\Dump::toFile($data, 'fileName', 'label'); Extra\Dump::f($data); //Short call
Dump to Console
<?php Extra\Dump::toConsole($data, 'label'); Extra\Dump::c($data); //Short call
统计信息
- 总下载量: 198
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 5
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-02-03