jeantet/exotic_dumper
最新稳定版本:1.0.7
Composer 安装命令:
composer require jeantet/exotic_dumper
包简介
A composer package to dump var in new ways.
README 文档
README
This package allow you to dump data in new ways. It's based on symfony serializer and dumper.
Functions
Currently there is only two functions One to display the dump in a small window on the page
pretty_dump
the parameters are :
- array|object : data to print
- bool : should hide by default the dump (display it in line on the bottom of the page)
- string : name of the dump (it should display in the titlebar of the dump)
<?php pretty_dump($data, true, 'name of dump'); ?>
console_dump
the parameters are :
- array|object : data to print
- string : name the group log
- string : type of log you wanna use see MDN doc for console
<?php console_dump($var, 'log for item x', 'log'); ?>
Demo
统计信息
- 总下载量: 374
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-26
