PHPackages                             php-notify/notify-notyf - 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. php-notify/notify-notyf

Abandoned → [php-flasher/flasher-notyf](/?search=php-flasher%2Fflasher-notyf)Library[Mail &amp; Notifications](/categories/mail)

php-notify/notify-notyf
=======================

PHPFlasher - A powerful &amp; easy-to-use package for adding flash messages to Laravel or Symfony projects. Provides feedback to users, improves engagement &amp; enhances user experience. Intuitive design for beginners &amp; experienced developers. A reliable, flexible solution.

v2.6.1(3w ago)98.9kMITPHPPHP &gt;=8.2

Since Dec 14Pushed 3w ago1 watchersCompare

[ Source](https://github.com/php-flasher/flasher-notyf)[ Packagist](https://packagist.org/packages/php-notify/notify-notyf)[ Docs](https://php-flasher.io)[ GitHub Sponsors](https://github.com/yoeunes)[ RSS](/packages/php-notify-notify-notyf/feed)WikiDiscussions 2.x Synced today

READMEChangelogDependencies (4)Versions (140)Used By (0)

PHPFlasher Notyf Adapter (Prime)
================================

[](#phpflasher-notyf-adapter-prime)

[![Latest Version](https://camo.githubusercontent.com/5f35b795cf10ad1c902fbcfbcf2cf881ac87f3a8c250d8e2f293587857b52c83/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068702d666c61736865722f666c61736865722d6e6f7479662e737667)](https://packagist.org/packages/php-flasher/flasher-notyf)[![Total Downloads](https://camo.githubusercontent.com/5c865960a7edee1c14254eb4407d0e7089223c9b59974e53c1988b9ba1686e7e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d666c61736865722f666c61736865722d6e6f7479662e737667)](https://packagist.org/packages/php-flasher/flasher-notyf)[![License](https://camo.githubusercontent.com/8bf099757172dd2dcd1250e05d88a4d669897429aa478fb20fa9eebf329b435f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7068702d666c61736865722f666c61736865722d6e6f7479662e737667)](https://packagist.org/packages/php-flasher/flasher-notyf)

Notyf adapter for PHPFlasher. Lightweight and modern toast notifications.

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

[](#requirements)

- PHP &gt;= 8.2
- PHPFlasher ^2.5.1

Installation
------------

[](#installation)

```
composer require php-flasher/flasher-notyf
```

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

[](#quick-start)

```
// Basic usage
notyf('Operation completed successfully!', 'success');
notyf('An error occurred.', 'error');
notyf('Information message.', 'info');
notyf('Warning message.', 'warning');

// With options
notyf('Success message', 'success', [
    'duration' => 4000,
    'position' => [
        'x' => 'right',
        'y' => 'top',
    ],
]);

// Custom notification
notyf('Custom message', 'custom-type');
```

Features
--------

[](#features)

- **Simple API**: `success()`, `error()`, `info()`, `warning()`, `flash()`
- **Notyf Options**: `duration`, `position`, `ripple`, `id`
- **Modern Design**: Clean, minimal design with smooth animations
- **Type Safety**: Full PHP type hints and PHPStan support
- **Helper Functions**: Global `notyf()` helper for quick access

Available Methods
-----------------

[](#available-methods)

```
// Success notification
notyf($message, 'success', $options, $title);

// Error notification
notyf($message, 'error', $options, $title);

// Info notification
notyf($message, 'info', $options, $title);

// Warning notification
notyf($message, 'warning', $options, $title);

// Custom notification type
notyf($message, $type, $options, $title);

// With options
notyf($message, 'success', [
    'duration' => 4000,
    'position' => [
        'x' => 'right',
        'y' => 'top',
    ],
], $title);
```

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

[](#documentation)

Complete documentation: [php-flasher.io](https://php-flasher.io)

License
-------

[](#license)

[MIT](https://opensource.org/licenses/MIT)

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance94

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 96.4% 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 ~14 days

Recently: every ~4 days

Total

138

Last Release

27d ago

Major Versions

v0.9.0 → v1.0.22022-05-16

v1.15.14 → v2.0.02024-05-05

PHP version history (2 changes)v0.1.0PHP &gt;=5.3

v2.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/719ac0f6bf24d689686134530caf539727d784ad4a66c81ad5dcdba161b4ea0a?d=identicon)[yoeunes](/maintainers/yoeunes)

---

Top Contributors

[![yoeunes](https://avatars.githubusercontent.com/u/10859693?v=4)](https://github.com/yoeunes "yoeunes (54 commits)")[![yoeunes-spin](https://avatars.githubusercontent.com/u/86292260?v=4)](https://github.com/yoeunes-spin "yoeunes-spin (2 commits)")

---

Tags

flash-messagesnotification-systemnotyfphpphp-flasheryoeunesflash-messageslaravel-notificationphp-notification-systemsymfony-notificationuser-feedback-toolsweb-application-notificationsphp-user-interfacecustomizable-alerts-phpinteractive-web-notificationsphp-messaging-libraryuser-engagement-php

### Embed Badge

![Health badge](/badges/php-notify-notify-notyf/health.svg)

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

###  Alternatives

[bentools/webpush-bundle

Send push notifications through Web Push Protocol to your Symfony users.

71274.3k](/packages/bentools-webpush-bundle)[calchen/laravel-dingtalk-robot-notification

钉钉智能群助手 Laravel/Lumen 消息通知扩展包（Dingtalk robot message notifications for Laravel/Lumen）

2326.4k](/packages/calchen-laravel-dingtalk-robot-notification)

PHPackages © 2026

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