sheesh / easy-notify
Requires
- php: ^8.1
- laravel/framework: ^10.0|^11.0|^12.0
This package is auto-updated.
Last update: 2026-03-18 14:26:15 UTC
README
Send Mail, Broadcast, and Database notifications using one simple, fluent builder. No more repetitive notification classes for every channel.
Write once. Send everywhere.
โจ Features
- โ Single fluent API for all notification channels
- ๐ง Mail notifications
- ๐ก Broadcast notifications (Pusher / Ably / Laravel WebSockets)
- ๐๏ธ Database notifications
- โก Queue support out of the box
- ๐งผ Clean, readable syntax
- ๐งฉ Laravel 10,11 & 12 compatible
๐ฆ Installation
Install the package via Composer:
composer require sheesh/easy-notify
๐๏ธ Database Notifications Setup
If you plan to use the database channel, run:
php artisan notifications:table
php artisan migrate
๐ Basic Usage
use EasyNotify\Facades\Notify;
Notify::to($user)
->title('Order Confirmed')
->message('Your order #123 has been placed')
->mail()
->broadcast()
->database()
->send();
โ๏ธ One notification โ๏ธ Multiple channels โ๏ธ Zero boilerplate
๐ฌ Supported Channels
| Channel | Supported |
|---|---|
| โ Yes | |
| Broadcast | โ Yes |
| Database | โ Yes |
โก Queue Support
Easy Notify automatically queues notifications if your queue is enabled.
No extra configuration required.
๐ Requirements
- PHP 8.1+
- Laravel 10.x / 11.x / 12.x
- Queue driver (optional but recommended)
๐ง Why Easy Notify?
Laravel notifications are powerful, but creating multiple notification classes for simple use cases can feel heavy.
Easy Notify solves this by giving you:
- One fluent builder
- Faster development
- Cleaner codebase
Perfect for:
- SaaS apps
- Admin panels
- APIs
- Rapid MVP development
๐ ๏ธ Roadmap (Planned)
- SMS support
- WhatsApp channel
- Custom channel extensions
- Notification templates
๐ค Contributing
Contributions, issues, and feature requests are welcome! Feel free to submit a pull request or open an issue.
๐ License
MIT License ยฉ Sheesh Khan