PHPackages                             ketchalegend/laravel-goey-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. [Mail &amp; Notifications](/categories/mail)
4. /
5. ketchalegend/laravel-goey-toast

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

ketchalegend/laravel-goey-toast
===============================

Gooey animated toast notifications for Laravel and Livewire

v0.2.2(2mo ago)034MITPHPPHP ^8.2CI failing

Since Feb 20Pushed 2mo agoCompare

[ Source](https://github.com/ketchalegend/laravel-goey-toast)[ Packagist](https://packagist.org/packages/ketchalegend/laravel-goey-toast)[ RSS](/packages/ketchalegend-laravel-goey-toast/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (5)Used By (0)

Laravel Goey Toast
==================

[](#laravel-goey-toast)

Gooey animated toast notifications for Laravel + Livewire.

Install
-------

[](#install)

```
composer require ketchalegend/laravel-goey-toast
```

Publish config if needed:

```
php artisan vendor:publish --tag="goey-toast-config"
```

Usage
-----

[](#usage)

Add the toast stack component to your layout before ``:

```

```

Flash toasts from PHP:

```
use Ketchalegend\LaravelGoeyToast\Facades\GoeyToast;

GoeyToast::success('Profile updated');
GoeyToast::error('Something went wrong');

GoeyToast::success('Saved', meta: [
    'title' => 'Changes saved',
    'description' => 'Your changes were synced successfully.',
    'spring' => true,
    'action' => [
        'label' => 'Open',
        'href' => '/dashboard',
    ],
]);
```

Helper function:

```
goey_toast('Saved');
goey_toast('Invalid token', 'danger');
```

Fire toast events from JavaScript:

```
window.goeyToast('Build completed', { type: 'success', duration: 5000 });
window.goeyToast('Saved', {
  title: 'Changes saved',
  description: 'Everything is synced.',
  spring: true,
  action: { label: 'Undo', event: 'undo-last-change', dismissOnClick: true }
});
```

Promise lifecycle helper:

```
await window.goeyToast.promise(
  () => fetch('/api/sync').then((r) => r.json()),
  {
    loading: { message: 'Syncing...', type: 'info' },
    success: { message: 'Sync complete', type: 'success' },
    error: (err) => ({ message: err?.message ?? 'Sync failed', type: 'danger' }),
  }
);
```

Dispatch from Livewire with browser events:

```
$this->dispatch('goey-toast', [
    'message' => 'Data synced',
    'type' => 'success',
]);
```

For Livewire actions, browser dispatch is the recommended path for immediate in-place UI updates.

Config
------

[](#config)

```
return [
    'position' => 'top-right', // top-left, top-center, top-right, bottom-left, bottom-center, bottom-right
    'default_duration' => 4500,
    'max_visible' => 4,
    'dismissible' => true,
    'dedupe' => [
        'enabled' => true,
        'window_ms' => 3000,
    ],
    'animation' => [
        'spring_enabled' => true,
        'enter_duration' => 460,
        'leave_duration' => 230,
        'spring_curve' => 'cubic-bezier(0.175, 0.885, 0.32, 1.275)',
        'smooth_curve' => 'cubic-bezier(0.4, 0, 0.2, 1)',
        'start_offset' => 14,
        'start_scale' => 0.92,
    ],
];
```

Per-toast overrides:

- `spring` (`true|false`) to enable/disable spring effect on a toast.
- `title` and `description` for richer content.
- `action` with `label`, optional `href`, optional `event`, optional `payload`, optional `dismissOnClick`.
- Duplicate toasts inside the dedupe window are automatically grouped and display a `×N` badge.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance84

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

4

Last Release

81d ago

Major Versions

v0.2.1 → 2.22026-02-20

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ketchalegend-laravel-goey-toast/health.svg)

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

###  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)[propaganistas/laravel-disposable-email

Disposable email validator

5762.6M6](/packages/propaganistas-laravel-disposable-email)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[xammie/mailbook

Laravel Mail Explorer

482458.3k1](/packages/xammie-mailbook)[spatie/laravel-notification-log

Log notifications sent by your Laravel app

207902.8k](/packages/spatie-laravel-notification-log)

PHPackages © 2026

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