szualang / hyperf-dump-server
Bring Symfony's Var-Dump Server to Hyperf
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 6
pkg:composer/szualang/hyperf-dump-server
Requires
- php: >=8.0
 - ext-swoole: >=4.5
 - hyperf/command: ^3.0
 - hyperf/di: ^3.0
 - hyperf/framework: ^3.0
 - symfony/var-dumper: ^5.0
 
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.9
 - hyperf/testing: 3.0.*
 - phpstan/phpstan: ^0.12
 - swoole/ide-helper: dev-master
 
This package is auto-updated.
Last update: 2025-10-29 03:33:43 UTC
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.
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.