Download the PHP package gl-package/notification-manager without Composer
On this page you can find all versions of the php package gl-package/notification-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gl-package/notification-manager
More information about gl-package/notification-manager
Files in gl-package/notification-manager
Package notification-manager
Short Description A notification manager package for Laravel.
License MIT
Informations about the package notification-manager
Notification Manager
A Laravel package for managing notifications through Telegram, WhatsApp, and Email. This package provides a unified interface for sending notifications via popular messaging platforms, enabling seamless integration and communication within your Laravel application. It supports rich features like templated messages, queued sending, and customizable settings for each notification channel.
Installation
To install the package, follow these steps:
-
Install via Composer:
-
Run the migrations:
🔔 Note: Ensure to configure your database connection properly before running migrations.
-
Configure your notification settings in the
/notification-manager/config
URL. -
Publish the configuration files (optional, only if you need to customize the configuration page):
-
Configure the queue (For Laravel versions prior to 11.0):
🔔 Note: To enable queuing for sending queue messages in Laravel 10 and 11, ensure that your queue driver is configured in
config/queue.php
and runphp artisan queue:table
to create the necessary database tables. Then, run php artisan migrate to apply the migrations andphp artisan queue:work
to start processing queued jobs.
Usage
You can use the notification classes in your Laravel application as follows:
Telegram Notification
🔔 Note: Ensure that the cURL extension is installed and enabled in your PHP environment. On Windows, uncomment extension=curl
in your php.ini. On Ubuntu, install it with sudo apt-get install php-curl
and restart your web server.