PHPackages                             ecaretsolutions/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. [HTTP &amp; Networking](/categories/http)
4. /
5. ecaretsolutions/scaledroner

ActiveLibrary[HTTP &amp; Networking](/categories/http)

ecaretsolutions/scaledroner
===========================

Official ScaleDrone PHP pushing library

v1.0(2y ago)09.1k↓45.8%MITPHP

Since Mar 21Pushed 1y ago2 watchersCompare

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

READMEChangelogDependencies (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

28

—

LowBetter than 54% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.9% 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/22a04ddcc96a09d5aacbc2b5d383e238119244f624a5cd0458b6b6e4a6cd0eeb?d=identicon)[lijinraj007](/maintainers/lijinraj007)

---

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)")[![ecaretsol](https://avatars.githubusercontent.com/u/158278945?v=4)](https://github.com/ecaretsol "ecaretsol (1 commits)")

---

Tags

productionpushpublishscaledrone

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[pusher/pusher-php-server

Library for interacting with the Pusher REST API

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

Manages links between resources

1.4k99.0M251](/packages/symfony-web-link)[symfony/mercure-bundle

Symfony MercureBundle

30913.5M53](/packages/symfony-mercure-bundle)[php-mqtt/client

An MQTT client written in and for PHP.

4372.1M30](/packages/php-mqtt-client)[scaledrone/scaledrone

Official ScaleDrone PHP pushing library

1132.2k](/packages/scaledrone-scaledrone)[pusher/pusher-http-laravel

\[DEPRECATED\] A Pusher bridge for Laravel

400509.0k3](/packages/pusher-pusher-http-laravel)

PHPackages © 2026

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