Workerman\Psr7\Request报错

Siediyer

异步http组件http-client

Fatal error: Class 'Workerman\Psr7\Request' not found in E:\branches_dev\GatewayWorker\vendor\workerman\workerman\Http\Request.php

引用不到这个类,有大神在吗?帮小弟解决一下呢?

2471 2 0
2个回答

yongdao35

看下vendor/workerman/ 下有没有这个类的文件夹,估计你没加载 vendor/autoload.php吧

  • 暂无评论
kenny534

使用composer require workerman/http-client 安装的没发现这个问题,你应该是直接下载的zip包再解压的吧?
截图

  • 暂无评论
年代过于久远,无法发表回答
🔝