Download the PHP package zanko-khaledi/notifications without Composer
On this page you can find all versions of the php package zanko-khaledi/notifications. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zanko-khaledi/notifications
More information about zanko-khaledi/notifications
Files in zanko-khaledi/notifications
Package notifications
Short Description A Laravel notification service for synchronous and asynchronous notifications with queued jobs and notification pooling.
License MIT
Homepage https://github.com/zanko-khaledi/notifications
Informations about the package notifications
Notifications Package
[
](https://packagist.org/packages/zanko-khaledi/notifications) [
](https://packagist.org/packages/zanko-khaledi/notifications) [
](https://github.com/zanko-khaledi/notifications/blob/master/LICENSE) [
](https://php.net) [
A flexible, event-driven Laravel package for managing and dispatching notifications.
It provides both synchronous and asynchronous (queued) notification handling, with support for notification pools, custom drivers, and a base Notification class for building reusable notification types.
β¨ Features
-
Synchronous & Asynchronous sending
Send notifications immediately or queue them for background processing. -
Job-based async execution
Uses LaravelβsNotificationJobto handle queued notifications. -
Notification pools
Group multiple notification drivers together and process them in sequence. -
Contracts for extensibility
Define your own notification drivers by implementing the provided interfaces. - Abstract Notification base class
Provides a reusable foundation for building custom notification types with user, notifiable models, and collections.
π¦ Installation
Require the package in your Laravel app:
βοΈ Configuration
π Usage
1. Sending a notification
2. Using a pool of drivers
This example demonstrates how to send notifications to multiple drivers (Telegram, System) using a pool.
3. Extending the abstract Notification class & implementing NotificationInterface
4. Example Driver: Telegram
π€ Why not just use Laravel's built-in notifications?
Laravel's notification system is great for single-channel, fire-and-forget messages. This package adds what's missing for larger systems:
- Driver pools β dispatch the same notification across multiple channels (Telegram, System, etc.) in one call, instead of writing separate
Notificationclasses per channel. - First-class async by default β
send($notification, true)queues automatically via a dedicated job, no manualShouldQueueboilerplate. - Reusable base class β build your own notification types once, extend them everywhere, instead of duplicating structure across Laravel's per-notification classes.
Use Laravel's native notifications for simple cases. Use this package when you need pooled, multi-driver, queue-first dispatching.
π Package Structure
β‘ Requirements
PHP >= 8.2
Laravel >= 11
Queue driver configured (for async jobs)
π License
This package is open-sourced software licensed under the MIT license
All versions of notifications with dependencies
illuminate/support Version ^11.0|^12.0|^13.0
illuminate/database Version ^11.0|^12.0|^13.0