PHPackages                             verifiedjoseph/gotify-api-php - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. verifiedjoseph/gotify-api-php

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

verifiedjoseph/gotify-api-php
=============================

PHP library for interacting with a Gotify server using the Gotify REST-API.

v1.11.0(4mo ago)138.3k↑50%1[1 PRs](https://github.com/VerifiedJoseph/gotify-api-php/pulls)MITPHPPHP ^8.3CI passing

Since Oct 29Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/VerifiedJoseph/gotify-api-php)[ Packagist](https://packagist.org/packages/verifiedjoseph/gotify-api-php)[ Docs](https://github.com/VerifiedJoseph/gotify-api-php)[ RSS](/packages/verifiedjoseph-gotify-api-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (49)Used By (0)

gotify-api-php
==============

[](#gotify-api-php)

[![Latest Version](https://camo.githubusercontent.com/00edb733ab5f6b0b66310923b50538d5b6e897d4399155dc949f4e844a4cff0c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f56657269666965644a6f736570682f676f746966792d6170692d7068702e7376673f7374796c653d666c61742d737175617265)](https://github.com/VerifiedJoseph/gotify-api-php/releases/latest)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

PHP library for interacting with a [Gotify](https://github.com/gotify/server) server using the [Gotify REST-API](https://gotify.net/api-docs).

Supports Gotify server version 2.5 or newer.

Install
-------

[](#install)

```
composer require verifiedjoseph/gotify-api-php

```

Quick Start
-----------

[](#quick-start)

```
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,
);
```

Documentation
-------------

[](#documentation)

- [Authentication](docs/auth.md)
- [Endpoints](docs/endpoints.md)
- [Exceptions](docs/exceptions.md)
- [Code examples](docs/examples.md)

Requirements
------------

[](#requirements)

- PHP &gt;= 8.3
- Composer
- PHP Extensions:
    - [`JSON`](https://www.php.net/manual/en/book.json.php)
    - [`cURL`](https://secure.php.net/manual/en/book.curl.php)

Dependencies
------------

[](#dependencies)

[`guzzlehttp/guzzle`](https://github.com/guzzle/guzzle/)

Changelog
---------

[](#changelog)

All notable changes to this project are documented in the [CHANGELOG](CHANGELOG.md).

License
-------

[](#license)

MIT License. Please see [LICENSE](LICENSE) for more information.

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance82

Actively maintained with recent releases

Popularity32

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 52.5% 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 ~40 days

Recently: every ~130 days

Total

39

Last Release

135d ago

PHP version history (4 changes)v1.0.0PHP &gt;=8.0

v1.8.0PHP ^8.1

v1.10.0PHP ^8.2

v1.11.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/818c88a10d2228958c74678a7cb181db7b965204aa882fee2667bcbc8a6658a8?d=identicon)[VerifiedJoseph](/maintainers/VerifiedJoseph)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (337 commits)")[![VerifiedJoseph](https://avatars.githubusercontent.com/u/20118140?v=4)](https://github.com/VerifiedJoseph "VerifiedJoseph (305 commits)")

---

Tags

composer-packagegotifynotificationsphpphp-librarypush-notificationsgotify

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/verifiedjoseph-gotify-api-php/health.svg)

```
[![Health](https://phpackages.com/badges/verifiedjoseph-gotify-api-php/health.svg)](https://phpackages.com/packages/verifiedjoseph-gotify-api-php)
```

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[guanguans/notify

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

682104.9k7](/packages/guanguans-notify)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)

PHPackages © 2026

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