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-10-27 20:38:55 UTC
README
A PHP client for CometChat chat.
CometChat enables you to add voice, video & text chat for your website & app.
Installation
The preferred method of installation is via Composer. Run the following
command to install the package and add it as a requirement to your project's
composer.json
:
composer require xdimedrolx/cometchat-php-sdk symfony/http-client nyholm/psr7
Usage
use ComentChat\Chat\CometChat; $client = CometChat::create($appId, $region, $apiKey); $user = $client->user()->get('superhero')->getData();
TODO
- Users
- Groups
- Auth Tokens
- Members
- Messages
- Tests