gotify api php
Version 1.10.0
Gotify REST-API를 사용하여 Gotify 서버와 상호 작용하기위한 PHP 라이브러리.
Gotify Server 버전 2.5 또는 최신 지원을 지원합니다.
composer require verifiedjoseph/gotify-api-php
require __DIR__ . ' /vendor/autoload.php ' ;
use Gotify Server ;
use Gotify Auth Token ;
use Gotify Endpoint Message ;
// Set server
$ server = new Server ( ' https://gotify.example.com/ ' );
// Set application token
$ auth = new Token ( ' ApplicationTokenHere ' );
// Create a message class instance
$ message = new Message ( $ server , $ auth );
// Send a message
$ message -> create (
title: ' hello? ' ,
message: ' Hello World ' ,
priority: Message:: PRIORITY_HIGH ,
);JSONcURL guzzlehttp/guzzle
이 프로젝트에 대한 모든 주목할만한 변경 사항은 Changelog에 문서화되어 있습니다.
MIT 라이센스. 자세한 내용은 라이센스를 참조하십시오.