PHPackages                             jigarakatidus/php-signal - 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. jigarakatidus/php-signal

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

jigarakatidus/php-signal
========================

A slim PHP wrapper around signal-cli

2.1.0(4y ago)56.2k↓56.4%6[2 issues](https://github.com/jigarakatidus/php-signal/issues)GPL-3.0-onlyPHP

Since Jan 26Pushed 3y ago3 watchersCompare

[ Source](https://github.com/jigarakatidus/php-signal)[ Packagist](https://packagist.org/packages/jigarakatidus/php-signal)[ RSS](/packages/jigarakatidus-php-signal/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (8)Used By (0)

IMPORTANT
=========

[](#important)

This is no longer actively maintained. If someone is actively maintaing the fork, I will link the same here and archive this.

php-signal
==========

[](#php-signal)

php-signal is a slim PHP wrapper around [signal-cli](https://github.com/AsamK/signal-cli)

Features:
---------

[](#features)

- Send messages to individuals, groups.
- Link to Master Device (Smartphone)
- Manage Groups
- Manage Profile
- Manage Device
- Receive Messages (Not as Daemon)
- Check if Number exist on Signal Server
- Register, Verify and Unregister Number

How to Install signal-cli
-------------------------

[](#how-to-install-signal-cli)

Please refer official [Installation Doc](https://github.com/AsamK/signal-cli#installation)

**Note**: Please make sure to keep .so|.dylib library in same directory as the binary

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

[](#installation)

```
composer require jigarakatidus/php-signal

```

Usage
-----

[](#usage)

```
require 'vendor/autoload.php';

use jigarakatidus\Signal;

$client = new Signal(
    '/Users/jigar.d/signal-cli/bin/signal-cli', // Binary Path
    '+919664*****', // Username/Number including Country Code with '+'
    Signal::FORMAT_JSON // Format
);

// Register the Number (username)
$client->register()

// Verify the Number
$client->verify('112-360');

// Unregister the Number
$client->unregister();

// Check if number(s) exist on Signal Server
$client->getUserStatus(['+91966xxxxxxx', '+91961xxxxxxx']);

// Send Message
$client->send(['+91966xxxxxxx', '+91961xxxxxxx'], "Hi, testing from' PHP Library");

// Receive Messages - More details in DocBlock
$client->receive();

// Update Name, Avatar, etc
$client->updateProfile('Jigar D');

// Link this signal-cli as secondary device
$client->link('MacBook');

// Link other devices to this one.
// Works only when this is master
$client->addDevice('tsdevice:/?uuid=6dNLUdpVTdCV-q_eN6TJtA&pub_key=BUCL9Jq64r1yLvNeyzS0mJgMjz2u82he3B5Wr%2BtrMitx');

// List Devices
$client->listDevices();

// Remove Device, works only when this is master
$client->removeDevice(2);

// Update the account attributes on the signal server
$client->updateAccount();

// Create Group
$client->createGroup('Test', ['+91961xxxxxxx']);

// List Groups
$client->listGroups();

// Join Group
$client->joinGroup('https://signal.group/#CjQKIEBNZJkVK5IMtoQZt46O-ZIdhOqeQCwtrZQsag_3FUoIEhBrN_ht_mr6Dbe5vR-EWpVm');

// Quit Group
$client->quitGroup('usPpOsVTgDTt8JE8UKedMhYXteL2YE5WzYzMnJEp/gI=');

```

Output and Error
----------------

[](#output-and-error)

More details from command can be fetched. eg:

```
$client->getCommand()->getOutput();
$client->getCommand()->getError();
$client->getCommand()->getExitCode();

```

Testing
-------

[](#testing)

- This works with [signal-cli 0.9.2](https://github.com/AsamK/signal-cli/releases/tag/v0.9.2)
- Tested on PHP 7.3

TODO
----

[](#todo)

- Unit Tests
- Better handling to link to a device

License
-------

[](#license)

This project uses

- [signal-cli](https://github.com/AsamK/signal-cli)
- [mikehaertl/php-shellcommand](https://github.com/mikehaertl/php-shellcommand)

Licensed under the GPLv3:

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance12

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~81 days

Total

5

Last Release

1613d ago

Major Versions

v1.1.0 → 2.0.02021-12-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/dd37364fd509a890b4ba371bc90b7cf68aff2a730e202e81503596260e2df486?d=identicon)[jigarakatidus](/maintainers/jigarakatidus)

---

Top Contributors

[![jigar-dhulla](https://avatars.githubusercontent.com/u/3132291?v=4)](https://github.com/jigar-dhulla "jigar-dhulla (10 commits)")[![dminko](https://avatars.githubusercontent.com/u/922728?v=4)](https://github.com/dminko "dminko (9 commits)")[![kovinet](https://avatars.githubusercontent.com/u/707846?v=4)](https://github.com/kovinet "kovinet (1 commits)")

---

Tags

phpsignalsignal-cli

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jigarakatidus-php-signal/health.svg)

```
[![Health](https://phpackages.com/badges/jigarakatidus-php-signal/health.svg)](https://phpackages.com/packages/jigarakatidus-php-signal)
```

PHPackages © 2026

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