guime/signal-api-wrapper
最新稳定版本:1.0.0-beta
Composer 安装命令:
composer require guime/signal-api-wrapper
包简介
A php wrapper for the Signal rest api made by @bbernard.
README 文档
README
This is a php wrapper for the signal rest api made by @bbernard.
To use it, you need to create a docker for the rest api. The instructions can be seen here.
Once you have a docker running, you will need its link to create the signal object. SignalObjects initates every modules at the same time with the same base url, but those modules can also be individually initialized.
Exemple of how to use the wrapper
$base_url = 'http://localhost:8080';
$signal = new SignalObjects($base_url);
$signal->messages->send_message($user_number, [$recipient1_number], "Test Api!");
To use a user number, you need to first link the docker to a Signal account (or register an account with the docker as its main device).
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-05