PHPackages                             tykfyr/ntfy-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tykfyr/ntfy-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tykfyr/ntfy-php
===============

Simple PHP wrapper for ntfy.sh.

v1.0.1(1y ago)18MITPHPPHP ^8.1

Since Apr 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tykfyr/ntfy-php)[ Packagist](https://packagist.org/packages/tykfyr/ntfy-php)[ RSS](/packages/tykfyr-ntfy-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

tykfyr/ntfy-php
===============

[](#tykfyrntfy-php)

A simple PHP wrapper for [ntfy.sh](https://ntfy.sh) – send push notification directly from PHP.

🚀 Installation
--------------

[](#-installation)

```
composer require tykfyr/ntfy-php
```

📦 Usage
-------

[](#-usage)

```
use Tykfyr\Ntfy\Client;

$ntfy = new Client('my-topic');

$ntfy->send('Backup job finished!');
$ntfy->send('Deployment failed!', [
    'priority' => 5,
    'title' => '🚨 Fejl i deployment',
    'tags' => ['warning', 'deploy'],
    'click' => 'https://example.com/status'
]);
```

⚙️ Configuration
----------------

[](#️-configuration)

You can set the default topic and server URL in the constructor:

```
$ntfy = new Client('alerts', [
    'base_url' => 'https://ntfy.example.com',
    'auth' => 'Bearer your-token'
]);
```

🧪 Test
------

[](#-test)

You can run the tests using PHPUnit. Make sure you have PHPUnit installed and run:

```
vendor/bin/phpunit
```

🧠 More information
------------------

[](#-more-information)

- Documentation for headers:
- This client uses Guzzle for HTTP requests, so you can use all Guzzle features.

📝 License
---------

[](#-license)

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance46

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

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 ~0 days

Total

2

Last Release

404d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c90ca5ed9ef8060ed9ee0eb1d718f0a94d4dc5c3d1be99ef8295c87e1b38923?d=identicon)[tykfyr](/maintainers/tykfyr)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tykfyr-ntfy-php/health.svg)

```
[![Health](https://phpackages.com/badges/tykfyr-ntfy-php/health.svg)](https://phpackages.com/packages/tykfyr-ntfy-php)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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