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
- Host: GitHub
- URL: https://github.com/xdimedrolx/cometchat-php-sdk
- Owner: xdimedrolx
- License: mpl-2.0
- Created: 2022-11-25T00:32:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-27T16:15:03.000Z (over 3 years ago)
- Last Synced: 2025-12-14T12:18:31.551Z (7 months ago)
- Topics: cometchat, sdk-php
- Language: PHP
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/