jeantet/exotic_dumper
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
jeantet/exotic_dumper 适用场景与选型建议
jeantet/exotic_dumper 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 374 次下载、GitHub Stars 达 2, 最近一次更新时间为 2022 年 09 月 26 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 jeantet/exotic_dumper 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jeantet/exotic_dumper 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 374
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-26
