A PHP client for CometChat chat.
CometChat enables you to add voice, video & text chat for your website & app.
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
use ComentChat\Chat\CometChat;
$client = CometChat::create($appId, $region, $apiKey);
$user = $client->user()->get('superhero')->getData();
- Users
- Groups
- Auth Tokens
- Members
- Messages
- Tests