An open API service indexing awesome lists of open source software.

https://github.com/xdimedrolx/cometchat-php-sdk

A PHP client for CometChat
https://github.com/xdimedrolx/cometchat-php-sdk

cometchat sdk-php

Last synced: 19 days ago
JSON representation

A PHP client for CometChat

Awesome Lists containing this project

README

          

🚧 xdimedrolx/cometchat-php-sdk 🚧


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`:

```bash
composer require xdimedrolx/cometchat-php-sdk symfony/http-client nyholm/psr7
```

## Usage

```php
use ComentChat\Chat\CometChat;

$client = CometChat::create($appId, $region, $apiKey);

$user = $client->user()->get('superhero')->getData();
```

## TODO

- [x] Users
- [x] Groups
- [ ] Auth Tokens
- [ ] Members
- [ ] Messages
- [ ] Tests

[composer]: http://getcomposer.org/