PHPackages                             salymmbise/toaster - 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. salymmbise/toaster

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

salymmbise/toaster
==================

Beautiful colorful toast notifications for PHP &amp; Laravel.

v2.0.2(3mo ago)115MITPHP

Since Mar 2Pushed 3mo agoCompare

[ Source](https://github.com/devmpemba/salymmbise-toaster)[ Packagist](https://packagist.org/packages/salymmbise/toaster)[ Docs](https://github.com/salymmbise/toaster)[ RSS](/packages/salymmbise-toaster/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (8)Used By (0)

SalymMbise Toaster
==================

[](#salymmbise-toaster)

A beautiful and colorful toast notification package for PHP and Laravel.
Supports **info, success, warning, and danger** messages with smooth animations and modern UI.

---

🚀 Features
----------

[](#-features)

- Beautiful colored toast notifications
- Icons for each toast type
- Auto-dismiss animations
- Works in **pure PHP** and **Laravel**
- Easy to use API
- Closes on click
- Publishable assets (CSS + JS)

---

📦 Installation
--------------

[](#-installation)

Install via Composer:

```
composer require salymmbise/toaster
```

💡 Usage in Plain PHP use SalymMbise\\Toaster\\Toaster;

Toaster::success("Saved successfully!"); Toaster::danger("Something went wrong!"); Toaster::warning("Please check again!"); Toaster::info("This is an information message.");

echo Toaster::render();

Make sure you include this before your HTML tag.

🎯 Usage in Laravel Step 1: Publish assets php artisan vendor:publish --tag=public

This will publish:

public/vendor/toaster/toaster.css public/vendor/toaster/toaster.js

Step 2: Add toaster renderer in your layout

Place this before the closing tag:

```
@toaster
```

Step 3: Trigger toasts from your controller

```
use SalymMbise\Toaster\Toaster;

Toaster::success("Welcome!");
Toaster::info("Profile updated!");
Toaster::warning("Low balance!");
Toaster::danger("Something went wrong!");

```markdown
🎨 Available Toast Types
Method	Color	Example
Toaster::info()	Purple	Information messages
Toaster::success()	Green	Success actions
Toaster::warning()	Orange	Warnings
Toaster::danger()	Red	Errors or danger alerts
```

```
📂 Folder Structure

src/
  Toaster.php
  ToasterServiceProvider.php
  Views/toast.php

public/
  toaster.css
  toaster.js

```markdown
📝 License

This package is open-source and licensed under the MIT License.
```

```
✨ Author

Salym Mbise
📧 Email: salymdeveloper@gmail.com
🌍 Dar Es Salaam, Tanzania

❤️ Enjoy using SalymMbise Toaster!

Simple. Beautiful. Powerful.
```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance79

Regular maintenance activity

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

7

Last Release

112d ago

Major Versions

v1.0.3 → v2.0.02026-03-02

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/105650566?v=4)[Salym Mbisse](/maintainers/devmpemba)[@devmpemba](https://github.com/devmpemba)

---

Top Contributors

[![devmpemba](https://avatars.githubusercontent.com/u/105650566?v=4)](https://github.com/devmpemba "devmpemba (7 commits)")

---

Tags

phplaraveluinotificationalertstoasttoaster

### Embed Badge

![Health badge](/badges/salymmbise-toaster/health.svg)

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

###  Alternatives

[oriceon/toastr-5-laravel

Easy toastr notifications for Laravel 5

79484.5k3](/packages/oriceon-toastr-5-laravel)[tomatophp/filament-twilio

Send Whatsapp messages using Twilio and native filament Notification Facade class

112.4k](/packages/tomatophp-filament-twilio)

PHPackages © 2026

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