Download the PHP package firstphp/wsdebug without Composer
On this page you can find all versions of the php package firstphp/wsdebug. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package wsdebug
Wsdebug
Wsdebug for Hyperf
安装组件:
composer require firstphp/wsdebug
安装 WebSocket 服务:
发布配置:
php bin/hyperf.php vendor:publish firstphp/wsdebug
注意事项:
-
配置文件路径:/web/hyperf/config/autoload/wsdebug.php
- 默认地址是 ws://127.0.0.1:9505 ,需修改成服务实际配置地址
使用方法:
1.通过自定义路由 Router 添加输出页面
编辑路由文件 /hyperf/config/routes.php ,添加如下内容:
2.Hyperf Demo
3.访问调试地址 http://127.0.0.1:9501/wsdebug
鸣谢
最后
初见 wsdebug ,是前两位分别开发的基于 easyswoole 的调试组件,顿觉思路新颖,大开调试方便之门,遂同好友半山相聊,半山有心,改造后适配了 hyperf ,由此契机,遂综合三位作者思路,封装了当前组件,以享诸君!
All versions of wsdebug with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
ext-swoole Version >=4.4
ext-swoole Version >=4.4
The package firstphp/wsdebug contains the following files
Loading the files please wait ....