PHPackages                             rahulrajecaret/scaledroner - 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. rahulrajecaret/scaledroner

ActiveLibrary

rahulrajecaret/scaledroner
==========================

Official ScaleDrone PHP pushing library

v1.0(2y ago)08.0k↓48.7%MITPHP

Since Mar 21Pushed 2y agoCompare

[ Source](https://github.com/RahulrajEcaret/scaledroner-php)[ Packagist](https://packagist.org/packages/rahulrajecaret/scaledroner)[ Docs](https://www.scaledrone.com/)[ RSS](/packages/rahulrajecaret-scaledroner/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

ScaleDrone PHP
==============

[](#scaledrone-php)

Official ScaleDrone PHP pushing library. This is a wrapper around the REST API.

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

[](#installation)

Make sure you have [composer](https://getcomposer.org) installed.

Install it directly:

```
composer require scaledrone/scaledrone

```

Or add the following to your `composer.json`:

```
{
    "require": {
        "scaledrone/scaledrone": "*"
    }
}
```

Then update your dependencies:

```
$ php composer.phar update
```

Usage
-----

[](#usage)

Create a new instance of ScaleDrone passing it the `channel_id` and `secret_key` that you can find from the channel's page

```
$auth = array(
    'channel_id' => 'CHANNEL_ID',
    'secret_key' => 'SECRET_KEY'
);

$client = ScaleDrone\Client::create($auth);
```

If you wish to connect using a [JSON Web Token](https://www.scaledrone.com/docs/jwt-authentication) you can set it like this:

```
$auth = array(
    'channel_id' => 'CHANNEL_ID',
    'bearer' => 'GENERATED_JWT'
);

$client = ScaleDrone\Client::create($auth);
```

Publishing a message

```
$room = 'notifications';
$message = ['email' => 'test2@foo.bar', 'name' => 'php name'];
$response = $client->publish($room, $message);
```

Channel stats

```
$response = $client->channel_stats();
```

Getting the complete list of users from all rooms

```
$response = $client->members_list();
```

Getting the list of users in a room

```
$response = $client->room_members_list('roomName');
```

Getting the list of rooms and their members

```
$response = $client->all_room_members_list('roomName');
```

Running Tests
-------------

[](#running-tests)

Clone this repository and change directories to the repository root. Install all dependencies with `composer install`. Then, just run `vendor/bin/phpunit`.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 74.2% 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

Unknown

Total

1

Last Release

789d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4520c7ad1533b3dee270d25257b521a18641f81ceefa1f1a38062c26ee300fda?d=identicon)[RahulrajEcaret](/maintainers/RahulrajEcaret)

---

Top Contributors

[![herkyl](https://avatars.githubusercontent.com/u/714950?v=4)](https://github.com/herkyl "herkyl (23 commits)")[![mcordingley](https://avatars.githubusercontent.com/u/1084253?v=4)](https://github.com/mcordingley "mcordingley (6 commits)")[![lijinecaret](https://avatars.githubusercontent.com/u/60505492?v=4)](https://github.com/lijinecaret "lijinecaret (2 commits)")

---

Tags

pushpublishscaledrone

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rahulrajecaret-scaledroner/health.svg)

```
[![Health](https://phpackages.com/badges/rahulrajecaret-scaledroner/health.svg)](https://phpackages.com/packages/rahulrajecaret-scaledroner)
```

###  Alternatives

[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[berkayk/onesignal-laravel

OneSignal Push Wrapper Laravel

5295.9M12](/packages/berkayk-onesignal-laravel)[guanguans/notify

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

682104.9k7](/packages/guanguans-notify)[scaledrone/scaledrone

Official ScaleDrone PHP pushing library

1132.2k](/packages/scaledrone-scaledrone)[bentools/webpush-bundle

Send push notifications through Web Push Protocol to your Symfony users.

71274.3k](/packages/bentools-webpush-bundle)

PHPackages © 2026

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