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. [Utility &amp; Helpers](/categories/utility)
4. /
5. rahulrajecaret/scaledroner

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

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

Official ScaleDrone PHP pushing library

v1.0(2y ago)012.6k↑78%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 2d 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 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

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

835d 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

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k124](/packages/oat-sa-tao-core)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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