PHPackages                             saurabhpunia/notifyx - 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. saurabhpunia/notifyx

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

saurabhpunia/notifyx
====================

A powerful Laravel package to provide a frontend + backend in-app notification system for modern Laravel applications

1.0.0(8mo ago)00MITPHPPHP ^8.2

Since Sep 5Pushed 8mo agoCompare

[ Source](https://github.com/saurabhpunia/notifyx)[ Packagist](https://packagist.org/packages/saurabhpunia/notifyx)[ RSS](/packages/saurabhpunia-notifyx/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

🔔 Notifyx - Laravel Notification System
=======================================

[](#-notifyx---laravel-notification-system)

A simple and powerful notification system for Laravel applications. Send notifications to users and display them beautifully with real-time updates.

📋 What Does This Package Do?
----------------------------

[](#-what-does-this-package-do)

- **📧 Send Notifications**: Easily send notifications to users
- **🔔 Notification Bell**: Shows unread count with a nice dropdown
- **📱 Real-time Updates**: Notifications appear instantly without page refresh
- **⚙️ User Preferences**: Let users choose how they want to receive notifications
- **📄 Notification History**: Full page showing all user notifications
- **🏢 Multi-tenant Ready**: Works with apps that have multiple tenants/teams

🎯 Quick Demo
------------

[](#-quick-demo)

After installation, you can send a notification like this:

```
// Send a simple notification
notify($user)
    ->title('Welcome!')
    ->with('Thanks for joining our platform')
    ->type('message')
    ->send();
```

And display notifications in your layout:

```

```

📦 Installation
--------------

[](#-installation)

### Step 1: Install the Package

[](#step-1-install-the-package)

```
composer require saurabhpunia/notifyx
```

### Step 2: Publish and Run Migrations

[](#step-2-publish-and-run-migrations)

```
php artisan vendor:publish --tag="notifyx-migrations"
php artisan migrate
```

### Step 3: Publish Configuration

[](#step-3-publish-configuration)

```
php artisan vendor:publish --tag="notifyx-config"
```

### Step 4: Add Trait to User Model

[](#step-4-add-trait-to-user-model)

Open your `app/Models/User.php` file and add the trait:

```
