jarir-ahmed / notification-system
A simple notification system to display messages on the front end.
Package info
github.com/jarir2020/jarir-ahmed-notification-system
pkg:composer/jarir-ahmed/notification-system
v1.1.0
2026-06-06 02:09 UTC
Requires
- php: >=7.2
Requires (Dev)
- phpunit/phpunit: ^9.0
Suggests
- yiisoft/yii2: Required only for the Yii NotificationHelper / AssetBundle integration
README
"# jarir-ahmed-notification-system"
Install: composer require jarir-ahmed/notification-system
Example Useage:
'success', 'message' => 'This is a success notification.'], (object)['type' => 'warning', 'message' => 'This is a warning notification.'], (object)['type' => 'error', 'message' => 'This is an error notification.'], (object)['type' => 'info', 'message' => 'This is an info notification.'], ]); // Register JS to trigger notifications using the included script $this->registerJs(<<