Skip to content

Commit 00c79b0

Browse files
author
jianyan74
committed
修改命名空间
1 parent f4480c6 commit 00c79b0

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@
1313
```
1414
### 安装
1515

16-
```
17-
# composer执行
16+
composer执行
1817

18+
```
1919
composer require "jianyan74/yii2-websocket"
20+
```
2021

21-
或者加入
22+
或者在 `composer.json` 加入
2223

24+
```
2325
"jianyan74/yii2-websocket": "^1.0"
2426
```
2527
### 配置

src/WebSocketController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace jianyan74\websocket;
2+
namespace jianyan\websocket;
33

44
use Yii;
55
use yii\console\Controller;

src/WebSocketServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace jianyan74\websocket;
2+
namespace jianyan\websocket;
33

44
use Yii;
55
use swoole_table;

0 commit comments

Comments
 (0)