PHPackages                             raditzfarhan/realm-chat - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. raditzfarhan/realm-chat

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

raditzfarhan/realm-chat
=======================

Realm Chat SDK

1.0.1(3y ago)0151MITPHPPHP ^8.0

Since Oct 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/raditzfarhan/realm-chat)[ Packagist](https://packagist.org/packages/raditzfarhan/realm-chat)[ Docs](https://github.com/raditzfarhan/realm-chat)[ RSS](/packages/raditzfarhan-realm-chat/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (4)Used By (1)

Realm Chat SDK
==============

[](#realm-chat-sdk)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cbb060465b5b8131dca71f79545583d2e04f6d2e1ab565576909fa49c615d3c2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72616469747a66617268616e2f7265616c6d2d636861742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/raditzfarhan/realm-chat)[![Total Downloads](https://camo.githubusercontent.com/107cb627a7b26d6362919301ce03447f711a345b4dbed59416c7bacd0def4e4c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72616469747a66617268616e2f7265616c6d2d636861742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/raditzfarhan/realm-chat)[![GitHub Actions](https://github.com/raditzfarhan/realm-chat/actions/workflows/main.yml/badge.svg)](https://github.com/raditzfarhan/realm-chat/actions/workflows/main.yml/badge.svg)

This is Realm Chat SDK.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require raditzfarhan/realm-chat
```

Available Methods
-----------------

[](#available-methods)

- `addDevice(string $name)`
- `sendMessage(string $number, string $message, ?string $fileUrl, ?string $fileName)`
- `sendButtonMessage(string $number, array $buttons, ?string $message, ?string $fileUrl)`
- `sendTemplateMessage(string $number, array $templates, string $message, ?string $fileUrl)`
- `recentChat()`
- `getContact()`
- `checkNumber(string $number)`

Usage
-----

[](#usage)

```
use RaditzFarhan\RealmChat\RealmChat;

$realmChat = new RealmChat($apiKey);

$addDevice = $realmChat->addDevice('device name');

$realmChat->setDeviceId('deviceId');

$sendMessage = $realmChat->sendMessage(
    number: '6012XXXXXXX',
    message: 'Hello!'
);
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Raditz Farhan](https://github.com/raditzfarhan)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~125 days

Total

2

Last Release

1228d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1203676?v=4)[Raditz Farhan](/maintainers/raditzfarhan)[@raditzfarhan](https://github.com/raditzfarhan)

---

Top Contributors

[![raditzfarhan](https://avatars.githubusercontent.com/u/1203676?v=4)](https://github.com/raditzfarhan "raditzfarhan (8 commits)")

---

Tags

raditzfarhanrealm-chat

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/raditzfarhan-realm-chat/health.svg)

```
[![Health](https://phpackages.com/badges/raditzfarhan-realm-chat/health.svg)](https://phpackages.com/packages/raditzfarhan-realm-chat)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[yajra/laravel-datatables-oracle

jQuery DataTables API for Laravel

4.9k36.0M371](/packages/yajra-laravel-datatables-oracle)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[toin0u/geocoder-laravel

Geocoder Service Provider for Laravel

7615.4M17](/packages/toin0u-geocoder-laravel)[zidbih/laravel-deadlock

Make temporary Laravel workarounds expire and fail CI when ignored.

985.4k](/packages/zidbih-laravel-deadlock)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40146.5k2](/packages/erlandmuchasaj-laravel-gzip)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
