PHPackages                             mohitbdeshmukh/notifluxion - 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. mohitbdeshmukh/notifluxion

ActiveLibrary

mohitbdeshmukh/notifluxion
==========================

A scalable, versioned, future-proof, and provider-agnostic Laravel Notification Library

v1.3.6(1mo ago)09↓100%MITPHPPHP ^8.2CI passing

Since Apr 6Pushed 1mo agoCompare

[ Source](https://github.com/MohitBDeshmukh/notifluxion)[ Packagist](https://packagist.org/packages/mohitbdeshmukh/notifluxion)[ Docs](https://github.com/MohitBDeshmukh/notifluxion)[ RSS](/packages/mohitbdeshmukh-notifluxion/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (15)Used By (0)

Laravel Notifluxion 🚀
=====================

[](#laravel-notifluxion-)

A scalable, versioned, future-proof, and provider-agnostic Notification engine for Laravel 10/11+.

[![Latest Version on Packagist](https://camo.githubusercontent.com/b69d5e15eb8795e3868249bcc6cecd160b5cd016da4e27300464905f3fe07a66/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6f68697462646573686d756b682f6e6f7469666c7578696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mohitbdeshmukh/notifluxion)[![Laravel Version](https://camo.githubusercontent.com/291ad0c7a63b43e1e7bf3ea9009160f3ee28a4b06a2ffc29570cc5ec95ffb24f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31302e785f2537435f31312e782d4646324432302e7376673f7374796c653d666c61742d737175617265)](https://laravel.com)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

---

🎯 Features
----------

[](#-features)

- **Multi-Channel Dispatching:** Built-in decoupled drivers for SMTP, SendGrid, Twilio SMS, and WhatsApp Cloud APIs avoiding massive vendor SDK bloat.
- **Queue Agnostic Engine:** Natively ships with independent `Sync`, `Database`, and high-speed `Redis` sub-job queue boundaries.
- **Failover / Fallback Routing:** Intelligent exception catchers that automatically increment backoff timers or silently bounce dead payloads to backup drivers on the fly!
- **Zero API N+1 Loops:** Sending an array of 5,000+ targeted user endpoints triggers a raw sub-batching bulk SQL insert natively avoiding database crashes.
- **Multi-Tenant Logging:** Built entirely with organizational `tenant_id` scopes out of the box dynamically isolated.

🔌 Quick Install
---------------

[](#-quick-install)

Install securely via Composer natively:

```
composer require mohitbdeshmukh/notifluxion
```

Execute the built-in scaffolding daemon to boot the config file and migrate the advanced multi-tenant background tables across to your database:

```
php artisan notify:install
```

Configure your `.env` variables safely inside your main Laravel application natively:

```
# Core Routings
NOTIFY_EMAIL_DRIVER=smtp
NOTIFY_SMS_DRIVER=twilio
NOTIFY_WHATSAPP_DRIVER=api
NOTIFY_EMAIL_FALLBACK=sendgrid

# Queue Scale Metrics
NOTIFY_QUEUE_ENABLED=true
NOTIFY_QUEUE_STRATEGY=database
NOTIFY_QUEUE_RETRIES=3
NOTIFY_QUEUE_DELAY_MINS=5

# API Bindings
NOTIFY_SENDGRID_KEY=SG.your_token
TWILIO_SID=AC...
TWILIO_TOKEN=your_token
TWILIO_FROM=+10000000000
WHATSAPP_TOKEN=your_meta_token
WHATSAPP_PHONE_ID=your_meta_phone_id
```

🚀 Multi-Channel Usage Maps
--------------------------

[](#-multi-channel-usage-maps)

The architecture uses a unified strategy. You provide a payload array, and Notifluxion routes it dynamically based on the channel attributes inside your `$notifiable` user object.

### 1. Email Channel (SendGrid / SMTP)

[](#1-email-channel-sendgrid--smtp)

The email driver automatically intercepts arrays of addresses or singular objects containing an `email` property. It natively renders generic keys or compiles actual `.blade.php` files dynamically!

```
use Notifluxion\LaravelNotify\Facades\Notify;
use Notifluxion\LaravelNotify\Notifications\GenericNotification;

$users = ['mohit@example.com', 'admin@example.com'];

Notify::send($users, [
    'subject' => 'System Scales Flawlessly!',
    'cc' => ['team@example.com'],
    'bcc' => ['compliance@example.com'],
    'view' => 'emails.marketing',
    'viewData' => ['name' => 'Mohit']
]);
```

### 2. SMS Channel (Twilio)

[](#2-sms-channel-twilio)

To trigger an SMS dispatch, your target object must contain a `phone_number` property and you specify the `"sms"` channel tag.

```
$user = new \stdClass();
$user->phone_number = '+14155552671';

// Trigger Twilio Pipeline natively
$sms = new GenericNotification(['message' => 'Your OTP is 98213!'], 'sms');
Notify::send($user, $sms);
```

### 3. WhatsApp Channel (Meta API)

[](#3-whatsapp-channel-meta-api)

To hit the Meta WhatsApp Cloud API seamlessly, ensure your target object uses `whatsapp_number`, and inject your exact Meta Template name.

```
$customer = new \stdClass();
$customer->whatsapp_number = '14155552671';

// Trigger WhatsApp Cloud Pipeline
$whatsapp = new GenericNotification([
    'template' => 'hello_world',
    'language' => 'en_US'
], 'whatsapp');

Notify::send($customer, $whatsapp);
```

### 4. Custom Channels (Slack, Push, Telegram)

[](#4-custom-channels-slack-push-telegram)

Because Notifluxion natively extends Laravel's strict `Manager` class, it securely supports infinite custom drivers out of the box *without* touching the core library!

Simply implement the `DriverInterface` and bind it into your host App's `AppServiceProvider`:

```
use Notifluxion\LaravelNotify\Facades\Notify;
use App\Drivers\TelegramDriver; // Your custom class

public function boot()
{
    Notify::extend('telegram', function ($app) {
        return new TelegramDriver($app['config']['services.telegram']);
    });
}
```

Now, you can just set `NOTIFY_DEFAULT_SMS=telegram` in your `.env` and Notifluxion will instantly boot your custom driver and supply it with all the Native fallback, batching, and Queue architectural loops automatically!

### 5. Background Queues &amp; Batching

[](#5-background-queues--batching)

To orchestrate intelligent Background daemons (auto-retries, delay backoffs, and fallback drivers enforced natively!), simply turn on `NOTIFY_QUEUE_ENABLED=true` and run:

```
php artisan notify:work
```

### 6. Omnichannel Broadcasting

[](#6-omnichannel-broadcasting)

Notifluxion effortlessly routes a singular Notification class across multiple channels concurrently. Simply return a target array natively from your `via()` methods!

```
// Inside your Notification class
public function via($notifiable) {
    return tap([], function(&$channels) use ($notifiable) {
        if ($notifiable->email) $channels[] = 'email';
        if ($notifiable->phone_number) $channels[] = 'sms';
    });
}
```

*Note: Using this concurrently triggers the `Sub-Job Batching Engine`. A 5,000 user blast routed to both Email and SMS compiles seamlessly into a strictly optimized SQL bulk-insert!*

### 7. Advanced Reminder Engine (Scheduling &amp; Cascades)

[](#7-advanced-reminder-engine-scheduling--cascades)

You do not need to boot complex Laravel Schedulers or cron expressions to handle delayed sequences. Notifluxion natively supports reverse/forward interval cascades pushed instantly across drivers.

```
use Notifluxion\LaravelNotify\Scheduling\ScheduleBuilder;

// Trigger notifications precisely 24 hours, 1 hour, and 15 mins before a meeting!
$schedule = (new ScheduleBuilder())->before($meeting->start_date, ['24h', '1h', '15m']);

Notify::send($user, new MeetingReminder(), $schedule);
```

**Cancellable Tags Support**: Because Redis delayed jobs naturally block standard queues, any Notification returning a native `notificationTag()` interface can be halted globally securely!

```
Notify::cancelTag("invoice_1234_reminders");
```

🧪 Testing
---------

[](#-testing)

The library enforces strict test coverage and behavioral assertions. We natively support dual testing loops.

**1. Automated Unit Suite**To execute the isolated PHPUnit behavioral tests:

```
vendor/bin/phpunit
```

**2. Live Driver Sandbox**To execute the live architectural sandbox and verify your `.env` API credentials are actively broadcasting properly, run the included daemon:

*(If installed inside a regular Laravel application):*

```
php artisan notify:test-live
```

*(If developing the package locally):*

```
vendor/bin/testbench notify:test-live
```

*Note: All core use-cases and driver tests are continually logged. Verify the Test Case Registry for detailed scenario outputs.*

---

🔒 License
---------

[](#-license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance93

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

14

Last Release

34d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8eca85de35a9f3ecd5a0ba9d9fafdefb22766e3f0de71a87326f2d837f8cd06d?d=identicon)[MohitBDeshmukh](/maintainers/MohitBDeshmukh)

---

Top Contributors

[![MohitD1176](https://avatars.githubusercontent.com/u/213432262?v=4)](https://github.com/MohitD1176 "MohitD1176 (22 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/mohitbdeshmukh-notifluxion/health.svg)

```
[![Health](https://phpackages.com/badges/mohitbdeshmukh-notifluxion/health.svg)](https://phpackages.com/packages/mohitbdeshmukh-notifluxion)
```

###  Alternatives

[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M107](/packages/laravel-cashier)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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