PHPackages                             itsnubix/toast - 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. itsnubix/toast

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

itsnubix/toast
==============

0.0.2(4y ago)123[1 issues](https://github.com/itsnubix/toast/issues)MITPHPPHP ^8.0

Since Jul 15Pushed 4y ago2 watchersCompare

[ Source](https://github.com/itsnubix/toast)[ Packagist](https://packagist.org/packages/itsnubix/toast)[ RSS](/packages/itsnubix-toast/feed)WikiDiscussions main Synced 4w ago

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

Nubix Toast Notification for Laravel Application with Breeze and Vue
====================================================================

[](#nubix-toast-notification-for-laravel-application-with-breeze-and-vue)

### Requirements

[](#requirements)

- PHP 8.0 and up
- Laravel 8 and up

### Installation

[](#installation)

Step 1. Install dev package with Composer

```
composer require itsnubix/toast
php artisan nubix-toast:install
```

Step 2. Add follow lines to `resources/js/app.js` file.

- Add follow import to the top of the file

```
import toastPlugin from '@/Plugins/toast'
```

- Add following line after `.use(plugin)`

```
.use(toastPlugin)
```

Step 3. Add following code to `share()` in `HandleInertiaRequests.php`

```
'toast' => fn () => $request->session()->get(config('toast.session_id')) ?? []
```

Final `share` function should look like this.

```
/**
 * Define the props that are shared by default.
 *
 * @param  \Illuminate\Http\Request  $request
 * @return array
 */
public function share(Request $request)
{
    return array_merge(parent::share($request), [
        'auth' => [
            'user' => $request->user(),
        ],
        'toast' => fn () => $request->session()->get(config('toast.session_id')) ?? []
    ]);
}
```

Step 4. Finish up installation

```
npm install && npm run dev
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

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

Every ~0 days

Total

2

Last Release

1758d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a66e0803fb3706fd50fd65ad13b22ead2c8df98bc1549c794b52fc435b5d7dba?d=identicon)[ronyu21](/maintainers/ronyu21)

---

Top Contributors

[![ronyu21](https://avatars.githubusercontent.com/u/10749880?v=4)](https://github.com/ronyu21 "ronyu21 (5 commits)")

### Embed Badge

![Health badge](/badges/itsnubix-toast/health.svg)

```
[![Health](https://phpackages.com/badges/itsnubix-toast/health.svg)](https://phpackages.com/packages/itsnubix-toast)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M681](/packages/barryvdh-laravel-ide-helper)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M210](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M856](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

88103.7k](/packages/emargareten-inertia-modal)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

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