xdimedrolx / cometchat-php-sdk
dev-main
2022-11-27 16:14 UTC
Requires
- php: >=7.4|>=8.0
- ext-json: *
- bentools/querystring: ^1.1
- cache/psr-6-doctrine-bridge: ^3.1
- guzzlehttp/promises: ^1.4
- jms/serializer: ^3.14
- league/uri: ^6.7
- php-http/async-client-implementation: ^1.0
- php-http/client-implementation: ^1.0
- php-http/discovery: ^1.14
- php-http/httplug: ^2.2
- php-http/message-factory: ^1.0
- php-http/multipart-stream-builder: ^1.2
- psr/cache: ^1.0
- psr/cache-implementation: ^1.0
- psr/http-message: ^1.0
- psr/log: ^1.1
- symfony/expression-language: >=4.4
- webmozart/assert: ^1.10
Requires (Dev)
- cache/array-adapter: ^1.1
- friendsofphp/php-cs-fixer: ^3.13
- nyholm/psr7: ^1.5
- php-http/message: ^1.11
- php-http/mock-client: ^1.4
- phpstan/phpstan: ^1.9
- phpunit/phpunit: ^9.3
Suggests
- nyholm/psr7: PSR-7 message implementation
- symfony/http-client: HTTP client
This package is auto-updated.
Last update: 2024-08-27 20:16:47 UTC
README
CometChat的PHP客户端。
CometChat允许您为您的网站和应用程序添加语音、视频和文本聊天功能。
安装
首选的安装方法是使用 Composer。运行以下命令安装包并将其添加到项目的 composer.json
文件中
composer require xdimedrolx/cometchat-php-sdk symfony/http-client nyholm/psr7
用法
use ComentChat\Chat\CometChat; $client = CometChat::create($appId, $region, $apiKey); $user = $client->user()->get('superhero')->getData();
待办事项
- 用户
- 组
- 身份验证令牌
- 成员
- 消息
- 测试