可以把 laravel 和 webman 整合到一起吗

问题描述 比如把 webman 做成 laravel 的一个 package,假设这个包叫 workerman/laravel-webman 这个包其实就和 https://github.com/walkor/webman 代码差不多 composer require workerman/laravel-webman 后,会在laravel里注册一个command,比如就叫 webman(可以使用 php artis...

chen 发表与 2024-01-21 765 浏览 3 回答
webman/admin 0.5.2 安装后403

问题描述 复现步骤 composer create-project workerman/webman composer require webman/admin php start.php start 访问 http://127.0.0.1:8787/app/admin 更多信息 composer info doctrine/inflector 2.0.4 PHP Doctri...

chen 发表与 2022-12-13 1068 浏览 1 回答
新手请教,怎么使用laravel的migration啊

https://learnku.com/docs/laravel/9.x/migrations/12248 折腾了半天,没折腾成功,有大神搞个插件吗...

chen 发表与 2022-05-20 769 浏览 1 回答
已有项目 composer install 报错

从项目仓库克隆下代码,执行 composer install -vvv 报错如下: ...

chen 发表与 2022-03-22 641 浏览 1 回答
webman start 启动server 使用phpdotenv 的bug

...

chen 发表与 2022-03-21 1206 浏览 1 回答
php webman stop Fatal error

...

chen 发表与 2022-03-14 651 浏览 3 回答
建议walkor老大加个论坛帖子的收藏功能

目前很多帖子只能加到浏览器收藏夹,很不方便...

chen 发表与 2022-03-07 926 浏览 3 回答
关于自定义进程执行异步任务的问题

代码如下: 控制器 app/controller/Index.php <?php namespace app\controller; use support\Log; use support\Request; use Workerman\Connection\AsyncTcpConnection; class Index { public function index(Request $requ...

chen 发表与 2022-02-26 1889 浏览 1 回答
关于在GatewayWorker里用户授权后的问题

使用GatewayWorker做的长连接和客户端通信,非常感谢walkor老大开源这么好用的项目 客户端在连接上服务器时做用户登录,现在用的手册里提供的 Timer 定时器方法 https://workerman.net/doc/gateway-worker/close-unauthed-connections.html 请教个问题: 但是客户端连接上服务器后,如果30s内不认证,而是直接进行其他操作,那就每次都得判...

chen 发表与 2022-02-16 1012 浏览 2 回答
上传文件时报错 Undefined index: type

控制器代码 class Device { public function upload(Request $request) { $file = $request->file('file'); } } 报错如下: [2022-01-21 15:11:14] default.ERROR: Undefined index: type {"exception"...

chen 发表与 2022-01-21 1107 浏览 1 回答
一共开了16个进程,用ab压了1000w请求,看status是只有8个进程处理请求的意思吗

ab -n 10000000 -c 5000 -k http://127.0.0.1:8787/ ...

chen 发表与 2022-01-19 1632 浏览 1 回答
按文档优化linux内核,执行sysctl -p有个报错

按照这个文档优化linux内核 https://www.workerman.net/doc/workerman/appendices/kernel-optimization.html 修改完成 /etc/sysctl.conf 文件保存,执行 sysctl -p,报错信息如下: ...

chen 发表与 2022-01-19 1549 浏览 1 回答
新手请教这是为什么

控制器代码 app/controller/Index.php class Index { protected $count; public function index(Request $request) { $this->count++; return response('count:' . $this->count); } } 配置...

chen 发表与 2022-01-12 1073 浏览 2 回答

chen

760
积分
0
获赞数
0
粉丝数
2022-01-12 加入
🔝