verifiedjoseph/ntfy-php-library
最新稳定版本:v4.7.2
Composer 安装命令:
composer require verifiedjoseph/ntfy-php-library
包简介
PHP library for sending push notifications using ntfy.
README 文档
README
PHP library for sending push notifications using ntfy.
Supports ntfy server version 2.
Install
composer require verifiedjoseph/ntfy-php-library
Quick Start
require __DIR__ . '/vendor/autoload.php'; use Ntfy\Server; use Ntfy\Message; use Ntfy\Client; $server = new Server('https://ntfy.sh/'); $message = new Message(); $message->topic('mytopic'); $message->title('Hello World'); $message->body('Hello World from ntfy.sh'); $message->priority(Message::PRIORITY_HIGH); $client = new Client($server); $client->send($message);
Documentation
Requirements
Dependencies
Changelog
All notable changes to this project are documented in the CHANGELOG.
License
MIT License. Please see LICENSE for more information.
统计信息
- 总下载量: 22.68k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 24
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-12-06