# llkphp-workerman **Repository Path**: lk3407105/llkphp-workerman ## Basic Information - **Project Name**: llkphp-workerman - **Description**: workerman+tp8的一个扩展 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2024-11-14 - **Last Updated**: 2025-09-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # llkphp/think-workerman Extension For ThinkPHP ## 介绍 一个类似于webman的 ThinkPHP 扩展库 ## 安装 ``` composer require llkphp/think-workerman ``` ## 配置 修改config目录的`workerman.php`配置文件 ## 注意(非常重要) ThinkPHP内置的`\think\Request`类已经做了别名映射到`\llkphp\workerman\process\http\Request`类,
如果需自定义请求类,则自定义请求类需要继承`\llkphp\workerman\process\http\Request`类,
然后在app目录下的provider.php文件里面将`\llkphp\workerman\process\http\Request`类映射到自定义的请求类。 ## 启动 命令行执行以下代码: windows环境下 ``` php think workerman start 执行workerman.php中的第一个procsss配置项 php think workerman start -s timing 指定workerman.php中procsss配置项的某一个 ``` linux环境下 ``` php think workerman start 启动所有服务 ``` Linux下支持守护进程模式启动 php think workerman start -d ## [特别鸣谢] 感谢巨人提供肩膀,排名不分先后
[axguowen/think-webworker]([https://github.com/axguowen/think-webworker]) https://gitee.com/yuyachong/thinkphp-workerman-http-server ThinkPHP ## [版权信息] llkadmin遵循[Apache2.0](https://www.apache.org/licenses/LICENSE-2.0.html)开源协议发布,并允许商业使用。 本项目包含的第三方源码和二进制文件之版权信息另行标注。 版权所有Copyright © 2024 by llkphp All rights reserved。