{"id":22499799,"url":"https://github.com/jigar-dhulla/php-signal","last_synced_at":"2026-01-11T09:00:41.372Z","repository":{"id":45366315,"uuid":"333008646","full_name":"jigar-dhulla/php-signal","owner":"jigar-dhulla","description":"A slim PHP wrapper around signal-cli","archived":false,"fork":false,"pushed_at":"2022-09-27T08:25:12.000Z","size":69,"stargazers_count":5,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-03T06:37:26.105Z","etag":null,"topics":["php","signal","signal-cli"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jigar-dhulla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-26T07:42:51.000Z","updated_at":"2024-10-18T05:38:20.000Z","dependencies_parsed_at":"2022-08-21T14:50:27.341Z","dependency_job_id":null,"html_url":"https://github.com/jigar-dhulla/php-signal","commit_stats":null,"previous_names":["jigar-dhulla/php-signal","jigarakatidus/php-signal"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jigar-dhulla/php-signal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigar-dhulla%2Fphp-signal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigar-dhulla%2Fphp-signal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigar-dhulla%2Fphp-signal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigar-dhulla%2Fphp-signal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jigar-dhulla","download_url":"https://codeload.github.com/jigar-dhulla/php-signal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jigar-dhulla%2Fphp-signal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28298875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T08:21:30.231Z","status":"ssl_error","status_checked_at":"2026-01-11T08:21:26.882Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php","signal","signal-cli"],"created_at":"2024-12-06T22:16:19.539Z","updated_at":"2026-01-11T09:00:41.264Z","avatar_url":"https://github.com/jigar-dhulla.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IMPORTANT\nThis is no longer actively maintained. If someone is actively maintaing the fork, I will link the same here and archive this.\n\n# php-signal\n\nphp-signal is a slim PHP wrapper around [signal-cli](https://github.com/AsamK/signal-cli)\n\n## Features:\n\n- Send messages to individuals, groups.\n- Link to Master Device (Smartphone)\n- Manage Groups\n- Manage Profile\n- Manage Device\n- Receive Messages (Not as Daemon)\n- Check if Number exist on Signal Server\n- Register, Verify and Unregister Number\n\n## How to Install signal-cli\n\nPlease refer official [Installation Doc](https://github.com/AsamK/signal-cli#installation)\n\n**Note**: Please make sure to keep .so|.dylib library in same directory as the binary\n## Installation\n\n    composer require jigarakatidus/php-signal\n\n## Usage\n\n    require 'vendor/autoload.php';\n    \n    use jigarakatidus\\Signal;\n    \n    $client = new Signal(\n        '/Users/jigar.d/signal-cli/bin/signal-cli', // Binary Path\n        '+919664*****', // Username/Number including Country Code with '+' \n        Signal::FORMAT_JSON // Format\n    );\n    \n    // Register the Number (username)\n    $client-\u003eregister()\n\n    // Verify the Number\n    $client-\u003everify('112-360');\n\n    // Unregister the Number\n    $client-\u003eunregister();\n\n    // Check if number(s) exist on Signal Server\n    $client-\u003egetUserStatus(['+91966xxxxxxx', '+91961xxxxxxx']);\n    \n    // Send Message\n    $client-\u003esend(['+91966xxxxxxx', '+91961xxxxxxx'], \"Hi, testing from' PHP Library\");\n    \n    // Receive Messages - More details in DocBlock\n    $client-\u003ereceive();\n\n    // Update Name, Avatar, etc\n    $client-\u003eupdateProfile('Jigar D');\n\n    // Link this signal-cli as secondary device\n    $client-\u003elink('MacBook');\n\n    // Link other devices to this one.\n    // Works only when this is master\n    $client-\u003eaddDevice('tsdevice:/?uuid=6dNLUdpVTdCV-q_eN6TJtA\u0026pub_key=BUCL9Jq64r1yLvNeyzS0mJgMjz2u82he3B5Wr%2BtrMitx');\n\n    // List Devices\n    $client-\u003elistDevices();\n    \n    // Remove Device, works only when this is master\n    $client-\u003eremoveDevice(2);\n\n    // Update the account attributes on the signal server\n    $client-\u003eupdateAccount();\n\n    // Create Group\n    $client-\u003ecreateGroup('Test', ['+91961xxxxxxx']);\n\n    // List Groups\n    $client-\u003elistGroups();\n\n    // Join Group\n    $client-\u003ejoinGroup('https://signal.group/#CjQKIEBNZJkVK5IMtoQZt46O-ZIdhOqeQCwtrZQsag_3FUoIEhBrN_ht_mr6Dbe5vR-EWpVm');\n\n    // Quit Group\n    $client-\u003equitGroup('usPpOsVTgDTt8JE8UKedMhYXteL2YE5WzYzMnJEp/gI=');\n\n## Output and Error\nMore details from command can be fetched. eg:\n\n    $client-\u003egetCommand()-\u003egetOutput();\n    $client-\u003egetCommand()-\u003egetError();\n    $client-\u003egetCommand()-\u003egetExitCode();\n\n## Testing\n- This works with [signal-cli 0.9.2](https://github.com/AsamK/signal-cli/releases/tag/v0.9.2)\n- Tested on PHP 7.3\n\n## TODO\n- Unit Tests\n- Better handling to link to a device\n\n## License\n\nThis project uses \n- [signal-cli](https://github.com/AsamK/signal-cli)\n- [mikehaertl/php-shellcommand](https://github.com/mikehaertl/php-shellcommand)\n\nLicensed under the GPLv3: http://www.gnu.org/licenses/gpl-3.0.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjigar-dhulla%2Fphp-signal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjigar-dhulla%2Fphp-signal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjigar-dhulla%2Fphp-signal/lists"}