PHPackages                             kapouet/laravel-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. kapouet/laravel-notyf

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

kapouet/laravel-notyf
=====================

Add Notyf support in your Laravel app

1.0.0(5y ago)71.0k3[1 issues](https://github.com/kapouet/laravel-notyf/issues)[1 PRs](https://github.com/kapouet/laravel-notyf/pulls)MITPHPPHP ^7.4|^8.0

Since Mar 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/kapouet/laravel-notyf)[ Packagist](https://packagist.org/packages/kapouet/laravel-notyf)[ Fund](https://paypal.me/balsakup)[ RSS](/packages/kapouet-laravel-notyf/feed)WikiDiscussions master Synced 2d ago

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

[![Laravel Notyf banner](https://camo.githubusercontent.com/7be14a8c7ec8a1f46b08b6582a4f3d7fb5ee2117e5934e48af3928a135bc35d2/68747470733a2f2f6c61726176656c2d6f672e6265796f6e64636f2e64652f4c61726176656c2532304e6f7479662e706e673f7468656d653d6461726b267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d6b61706f7565742532466c61726176656c2d6e6f747966267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d4164642b4e6f7479662b737570706f72742b696e2b796f75722b4c61726176656c2b617070266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d62656c6c)](https://camo.githubusercontent.com/7be14a8c7ec8a1f46b08b6582a4f3d7fb5ee2117e5934e48af3928a135bc35d2/68747470733a2f2f6c61726176656c2d6f672e6265796f6e64636f2e64652f4c61726176656c2532304e6f7479662e706e673f7468656d653d6461726b267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d6b61706f7565742532466c61726176656c2d6e6f747966267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d4164642b4e6f7479662b737570706f72742b696e2b796f75722b4c61726176656c2b617070266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d62656c6c)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9d504c6bf486a1a5418f69c1269a4d830a0d54fdce072bb74369543ff1f9e805/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b61706f7565742f6c61726176656c2d6e6f7479662e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kapouet/laravel-notyf)[![Total Downloads](https://camo.githubusercontent.com/4b313d6bdc74af0366e809f54b4498191cb700d8b8754f6b45db2517bc7cd8d6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b61706f7565742f6c61726176656c2d6e6f7479662e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kapouet/laravel-notyf)

Add [Notyf](https://github.com/caroso1222/notyf) support in your Laravel app.

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

[](#installation)

You can install the package via composer

```
composer require kapouet/laravel-notyf
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Kapouet\Notyf\NotyfServiceProvider" --tag="kapouet:config"
```

The config file is structured like Notyf, but in PHP, see

Usage
-----

[](#usage)

### Import assets

[](#import-assets)

```

```

### Send toast with PHP

[](#send-toast-with-php)

```
Notyf::success('I\'m a success message');
Notyf::error('I\'m an error message');

// If you are added custom types in config file
// https://github.com/caroso1222/notyf#inotyfnotificationoptions
Notyf::message('custom', 'I\'m a custom message');
```

### Send toast with Livewire

[](#send-toast-with-livewire)

```
use Kapouet\Notyf\Traits\Livewire\WithNotyf;
use Livewire\Component;

class MyComponent extends Component
{
    use WithNotyf;

    public function render(): string
    {
        return notyfMessage('custom', 'I\'m a custom message');
    }
}
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Quentin CATHERINE](https://github.com/balsakup)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1894d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5615a71d63fbb2dbfea90f3eef7fabe8bef8dcf683ad0864c5b4e7caaf6f812d?d=identicon)[Balsakup](/maintainers/Balsakup)

---

Top Contributors

[![Balsakup](https://avatars.githubusercontent.com/u/5208282?v=4)](https://github.com/Balsakup "Balsakup (1 commits)")

---

Tags

kapouetlaravelnotificationnotyftoastnotificationtoastnotyfkapouet

### Embed Badge

![Health badge](/badges/kapouet-laravel-notyf/health.svg)

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

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1.7k1.1M5](/packages/mckenziearts-laravel-notify)[loveorigami/yii2-notification-wrapper

This module for renders a message from session flash (with ajax, pjax support and etc.)

77199.7k5](/packages/loveorigami-yii2-notification-wrapper)[felipedamacenoteodoro/laravel-whatsapp-notification-channel

Whatsapp Notifications Channel for Laravel

984.0k](/packages/felipedamacenoteodoro-laravel-whatsapp-notification-channel)[wijourdil/ntfy-notification-channel

ntfy.sh Notification Channel for Laravel

229.4k](/packages/wijourdil-ntfy-notification-channel)[hooman-mirghasemi/laravel-iran-sms

Laravel Sms

241.8k](/packages/hooman-mirghasemi-laravel-iran-sms)

PHPackages © 2026

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