Download the PHP package pokeface/laravels_chat without Composer
On this page you can find all versions of the php package pokeface/laravels_chat. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravels_chat
PoChat
base on laravels 准备: 编辑laravels.php配置文件 1.修改
'websocket' => [
'enable' => true,
'handler' => \App\Services\WebSocketService::class,
],
'swoole_tables' => [
'ws' => [
'size' => 102400,//Table的最大行数
'column' => [// Table的列定义
['name' => 'value', 'type' => 1, 'size' => 8],
],
],
],
'register_providers' => [
\Pokeface\Chating\Providers\ChatServiceProvider::class,
],
swoole.dispatch_mode => 2
2.执行 php artisan vendor:publish --provider="Pokeface\Chating\Providers\ChatServiceProvider" php artisan migrate
可用方法: 用户: #######
PoChatUser::login($uid,$fd)
$uid---用户ID $fd---长连接标示ID
All versions of laravels_chat with dependencies
PHP Build Version
Package Version
Requires
hhxsv5/laravel-s Version
^3.0
The package pokeface/laravels_chat contains the following files
Loading the files please wait ....