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)19MITPHPPHP ^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 today

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

27

—

LowBetter than 47% of packages

Maintenance43

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

452d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9591792?v=4)[René Kirk](/maintainers/tykfyr)[@tykfyr](https://github.com/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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k122](/packages/oat-sa-tao-core)

PHPackages © 2026

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