定制 harryqt/hyperf-dumper 二次开发

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

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

harryqt/hyperf-dumper

Composer 安装命令:

composer require harryqt/hyperf-dumper

包简介

README 文档

README

A lightweight wrapper around symfony/var-dumper for the Hyperf framework, offering a Laravel-style dump() function within Hyperf.

The package provides convenient global hd() and dump() functions — mirroring Laravel’s dump() — for debugging variables seamlessly in both HTTP and CLI environments.

🧩 Install

composer require harryqt/hyperf-dumper

🚀 Usage

In Controllers / HTTP context:

This will dump variables as a pretty HTML response.

return hd($var1, $var2, $var3);

In CLI scripts:

This will dump variables in the terminal.

dump($var1, $var2, $var3);

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-09-18