https://github.com/cloudtay/workerman-ripple
https://github.com/cloudtay/workerman-ripple
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cloudtay/workerman-ripple
- Owner: cloudtay
- License: mit
- Created: 2024-11-03T17:21:58.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-02-08T03:25:04.000Z (3 months ago)
- Last Synced: 2025-03-22T04:03:51.671Z (about 2 months ago)
- Language: PHP
- Size: 79.1 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
`ripple`协程引擎的`Workerman`版驱动, 使得`Workerman`支持协程编程,
从而可以使用`ripple`协程引擎的各种特性### 兼容版本
| Workerman版本 | 支持状态 |
|-------------|------|
| 4.1.x | 长期支持 |
| 5.0.x | 长期支持 |### 安装
```shell
composer require cloudtay/workerman-ripple
```#### Workerman使用方法
```php
use Workerman\Worker;Worker::$eventLoopClass = Workerman\Ripple\Driver::class;
Worker::runAll();
```#### Webman使用方法
> 编辑`server.php`
```php
return [
'event_loop' => Workerman\Ripple\Driver::class,
// other configurations
];
```### 使用文档
你可以访问`ripple`的[文档](https://ripple.cloudtay.com/)开始阅读
我们建议你从[手动安装](https://ripple.cloudtay.com/docs/install/professional)开始, 便于更好地理解ripple的工作流程
如果你想快速部署并使用`ripple`的服务, 你可以直接访问[快速部署](https://ripple.cloudtay.com/docs/install/server)