qiutuleng/hyperf-dump-server
最新稳定版本:v2.1.1
Composer 安装命令:
composer require qiutuleng/hyperf-dump-server
包简介
Bring Symfony's Var-Dump Server to Hyperf
关键字:
README 文档
README
Introduction
Bring Symfony's Var-Dump Server to Hyperf.
This package will give you a dump server, that collects all your dump call outputs, so that it does not interfere with HTTP / API responses.
Version Guide
Hyperf Framework version is 2.2.25 and below, please install version 1.2.x.
Hyperf Framework version is 2.2.26 and newer, please install version 1.3.x.
Hyperf Framework version is 3.0.x, please install version 2.0.x.
Hyperf Framework version is 3.1 and newer, please install version 2.1.x.
Install
Under your project folder and run the command in terminal:
composer require --dev qiutuleng/hyperf-dump-server
Publish the dump-server.php configuration file using vendor:publish command :
php bin/hyperf.php vendor:publish qiutuleng/hyperf-dump-server
Usage
Start the dump server by calling the hyperf command:
php bin/hyperf.php dump-server
You can set the output format to HTML using the --format option:
php bin/hyperf.php dump-server --format=html > dump.html
⚠️Do not use the dd method in your hyperf project, because it kills the Hyperf process, Use the dump method instead.
Reference
This extension package refers to the laravel-dump-server package released by beyondcode organization
Thank beyondcode organization and all its contributors for this great contribution.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 27.86k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 19
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-09-18