PHPackages                             gl-package/notification-manager - 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. gl-package/notification-manager

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

gl-package/notification-manager
===============================

A notification manager package for Laravel.

1.0.1(1y ago)1221MITPHPPHP ^8.0 || &gt;=8.0

Since Jul 22Pushed 1y ago2 watchersCompare

[ Source](https://github.com/ajayashok/gl-notification)[ Packagist](https://packagist.org/packages/gl-package/notification-manager)[ RSS](/packages/gl-package-notification-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

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
------------

[](#installation)

To install the package, follow these steps:

1. **Install via Composer:**

    ```
    composer require gl-package/notification-manager
    ```
2. **Run the migrations:**

    ```
    php artisan migrate
    ```

    🔔 **Note:** Ensure to configure your database connection properly before running migrations.
3. **Configure your notification settings** in the `/notification-manager/config` URL.
4. **Publish the configuration files** (optional, only if you need to customize the configuration page):

    ```
    php artisan vendor:publish --provider="GlPackage\NotificationManager\Providers\NotificationManagerServiceProvider" --tag=notificationmanager-views
    php artisan vendor:publish --provider="GlPackage\NotificationManager\Providers\NotificationManagerServiceProvider" --tag=notificationmanager-controllers
    php artisan vendor:publish --provider="GlPackage\NotificationManager\Providers\NotificationManagerServiceProvider" --tag=notificationmanager-routes
    ```
5. **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 run `php artisan queue:table` to create the necessary database tables. Then, run php artisan migrate to apply the migrations and `php artisan queue:work` to start processing queued jobs.

    ```
    php artisan queue:table
    php artisan migrate
    php artisan queue:work
    ```

Usage
-----

[](#usage)

You can use the notification classes in your Laravel application as follows:

### Telegram Notification

[](#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.

```
use GlPackage\NotificationManager\Notifications\TelegramNotification;

$data = [
    'message' => "Hello World! Click the button below:",
    'buttons' => [
        [
            ['text' => 'Click Me', 'url' => 'https://example.com'] // Optional , else pass [] array
        ]
    ]
];

$telegram = new TelegramNotification();
$telegram->quickSend($data); // For quick send
// or
$telegram->queueSend($data); // For queued send
```

### Email Notification

[](#email-notification)

```
use GlPackage\NotificationManager\Notifications\EmailNotification;
use Faker\Factory as Faker;

$data = [
    'to_address' => Faker::create()->email,
    'subject' => 'Welcome to Our Service',
    'body' => 'Thank you for signing up! Here are some details about your account.',
    'view' => 'notificationmanager.testmail', // Optional view page location
    'attachments' => [], // Optional attachments array
    'name' => 'Hello, Ajay' // Optional parameters
];

$mail = new EmailNotification();
$mail->send($data); // Send mail via queue
// Ensure to run: php artisan queue:work or use Supervisor
```

### Whatsapp Notification

[](#whatsapp-notification)

```
use GlPackage\NotificationManager\Notifications\WhatsAppNotification;

$data = [
    'mobile' => '91908*******',
    'template' => 'hello_world', // Sample template
    'parameters' => [ // Optional
        [
            "type" => "text",
            "text" => "Test"
        ],
        [
            "type" => "text",
            "text" => "1200"
        ]
    ],
    'buttons' => [ // Optional
        [
            "type" => "text",
            "text" => "16"
        ]
    ]
];

$whatsapp = new WhatsAppNotification();
$whatsapp->send($data); // Send WhatsApp message via queue

// Ensure to run: php artisan queue:work or use Supervisor
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~2 days

Total

2

Last Release

660d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ebe1053605709f2334ad4bc972b49b5750332184c01b710cb8ce567dabf3c8d4?d=identicon)[ajayashok](/maintainers/ajayashok)

---

Top Contributors

[![ajaygetlead](https://avatars.githubusercontent.com/u/105376918?v=4)](https://github.com/ajaygetlead "ajaygetlead (2 commits)")[![getleadconnect](https://avatars.githubusercontent.com/u/72461665?v=4)](https://github.com/getleadconnect "getleadconnect (1 commits)")

### Embed Badge

![Health badge](/badges/gl-package-notification-manager/health.svg)

```
[![Health](https://phpackages.com/badges/gl-package-notification-manager/health.svg)](https://phpackages.com/packages/gl-package-notification-manager)
```

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[guanguans/notify

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

682104.9k7](/packages/guanguans-notify)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)

PHPackages © 2026

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