PHPackages                             php-notify/notify-laravel-toastr - 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-laravel-toastr

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

php-notify/notify-laravel-toastr
================================

Leverage Toastr for stylish toast notifications in Laravel with PHPFlasher. Add Toastr's sleek notifications to your Laravel projects effortlessly.

v2.6.1(4w ago)31162MITPHPPHP &gt;=8.2

Since Dec 14Pushed 4w ago2 watchersCompare

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

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

PHPFlasher Toastr - Laravel Adapter
===================================

[](#phpflasher-toastr---laravel-adapter)

[![Latest Version](https://camo.githubusercontent.com/466cd1fd5e0c4bd040bd810e8390967f48e93ecd7df081dfe8918281e49607e4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068702d666c61736865722f666c61736865722d746f617374722d6c61726176656c2e737667)](https://packagist.org/packages/php-flasher/flasher-toastr-laravel)[![Total Downloads](https://camo.githubusercontent.com/1b1c6a9db83ad41d8a338c360b61d000f331be984535f8b3b91741493b0a3b8d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d666c61736865722f666c61736865722d746f617374722d6c61726176656c2e737667)](https://packagist.org/packages/php-flasher/flasher-toastr-laravel)[![License](https://camo.githubusercontent.com/b7632d6733a4b7a0d9a8bfa2a2b9187d5e1ab0b582de6c855330fae5acdd239b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7068702d666c61736865722f666c61736865722d746f617374722d6c61726176656c2e737667)](https://packagist.org/packages/php-flasher/flasher-toastr-laravel)

Laravel adapter for PHPFlasher Toastr. Seamlessly integrate Toastr notifications into Laravel applications.

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

[](#requirements)

- PHP &gt;= 8.2
- Laravel &gt;= 11.0
- php-flasher/flasher-laravel ^2.4.0
- php-flasher/flasher-toastr ^2.4.0

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

[](#installation)

```
composer require php-flasher/flasher-toastr-laravel
```

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

[](#quick-start)

```
// Global helper
toastr()->success('Operation completed successfully!');
toastr()->error('An error occurred.');
toastr()->info('Information message.');
toastr()->warning('Warning message.');

// In controller
public function save(Request $request)
{
    // Your logic...

    toastr()->success('Changes saved!');

    return redirect()->back();
}

// With options
toastr()->success('Success message', [
    'timeOut' => 5000,
    'positionClass' => 'toast-top-right',
]);
```

Features
--------

[](#features)

- **Laravel Facade**: `toastr()` global helper
- **Dependency Injection**: `ToastrFactory` type-hinted injection
- **Laravel Integration**: Auto-injects assets in Blade templates
- **Flash Bag**: Converts Laravel flash messages to Toastr notifications

Configuration
-------------

[](#configuration)

Publish configuration:

```
php artisan flasher:install --config
```

Add to `config/flasher.php`:

```
return [
    'plugins' => [
        'toastr' => [
            'options' => [
                'timeOut' => 5000,
                'progressBar' => true,
                'positionClass' => 'toast-top-right',
            ],
        ],
    ],
];
```

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

[](#documentation)

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

License
-------

[](#license)

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

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance94

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

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

28d ago

Major Versions

v0.9.1 → 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 (39 commits)")[![yoeunes-spin](https://avatars.githubusercontent.com/u/86292260?v=4)](https://github.com/yoeunes-spin "yoeunes-spin (2 commits)")

---

Tags

flash-messageslaravelnotification-systemphpphp-flashertoastryoeuneslaraveltoastropen-sourceflash-notificationsuser-feedbackphpflasherdynamic-notifications

### Embed Badge

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

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

###  Alternatives

[php-flasher/flasher-toastr-laravel

Leverage Toastr for stylish toast notifications in Laravel with PHPFlasher. Add Toastr's sleek notifications to your Laravel projects effortlessly.

31586.1k5](/packages/php-flasher-flasher-toastr-laravel)[php-flasher/flasher-laravel

Seamlessly integrate flash notifications into your Laravel applications with PHPFlasher. Enhance user feedback and engagement with minimal setup.

442.8M35](/packages/php-flasher-flasher-laravel)[php-flasher/flasher-symfony

Integrate flash notifications into Symfony projects effortlessly with PHPFlasher. Improve user experience and application feedback loops easily.

141.3M20](/packages/php-flasher-flasher-symfony)[devrabiul/laravel-toaster-magic

Laravel Toaster Magic is a lightweight, flexible toast library for Laravel projects, with no jQuery, Bootstrap, or Tailwind dependency.

22351.5k1](/packages/devrabiul-laravel-toaster-magic)

PHPackages © 2026

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