PHPackages                             shiftechafrica/laravel-notification - 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. shiftechafrica/laravel-notification

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

shiftechafrica/laravel-notification
===================================

This is a custom system notification channel.

v1.0.7(1y ago)083MITPHP

Since Oct 3Pushed 1y ago1 watchersCompare

[ Source](https://github.com/SHIFTECH-AFRICA/laravel-notification)[ Packagist](https://packagist.org/packages/shiftechafrica/laravel-notification)[ RSS](/packages/shiftechafrica-laravel-notification/feed)WikiDiscussions main Synced 1mo ago

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

[![](https://camo.githubusercontent.com/08387265356b9ac28aa34feaa03316d9be5cc89ec5571ca38b6c47006be5dcb3/68747470733a2f2f706e672e706e67747265652e636f6d2f706e672d766563746f722f32303139303830362f6f75726c617267652f706e67747265652d616c6572742d62656c6c2d6e6f74696669636174696f6e2d736f756e642d626c75652d646f747465642d6c696e652d6c696e652d69636f6e2d706e672d696d6167655f313635313830342e6a7067)](#)

[](#)

 **Makes Laravel Notification a Breeze...**
 [ ![](https://camo.githubusercontent.com/5abe9386f12c86685a10656f2b9dff9e4e6a058a329388f8805f8f81c33ef398/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f53484946544543482d4146524943412f6c61726176656c2d6e6f74696669636174696f6e) ](https://github.com/SHIFTECH-AFRICA/laravel-notification/issues) [ ![](https://camo.githubusercontent.com/148058fadad573010b84249316231d04f048a728364bbb1036c05484ba7bf536/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f53484946544543482d4146524943412f6c61726176656c2d6e6f74696669636174696f6e) ](https://github.com/SHIFTECH-AFRICA/laravel-notification/network/members) [ ![](https://camo.githubusercontent.com/3c33807458426bf6984feab14f040ed01623d2d6c6bf7388c8d614776c403589/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f53484946544543482d4146524943412f6c61726176656c2d6e6f74696669636174696f6e) ](https://github.com/SHIFTECH-AFRICA/laravel-notification/stargazers) [ ![](https://camo.githubusercontent.com/b6b4da6f39d3f6d1044de02ddff4360dc7ec84247d866596370d5cd947e6e607/68747470733a2f2f706f7365722e707567782e6f72672f73686966746563686166726963612f6c61726176656c2d6e6f74696669636174696f6e2f762f737461626c65) ](https://packagist.org/packages/shiftechafrica/laravel-notification) [ ![](https://camo.githubusercontent.com/397cfc871734b048a238a20add958f6c9ed410d20ca1ce6f7415e6398dc1b2db/68747470733a2f2f706f7365722e707567782e6f72672f73686966746563686166726963612f6c61726176656c2d6e6f74696669636174696f6e2f646f776e6c6f616473) ](https://packagist.org/packages/shiftechafrica/laravel-notification)

This package is custom notify for any model, so instead of using laravel notification. I built this custom notification package for my projects, so if you want to try it out read through the documentation.

Installing
----------

[](#installing)

The recommended way to install *shiftechafrica/laravel-notification* is through [Composer](http://getcomposer.org).

```
# Install package via composer
composer require shiftechafrica/laravel-notification
```

Next, run the Composer command to install the latest stable version of *shiftechafrica/laravel-notification*:

```
# Update package via composer
 composer require shiftechafrica/laravel-notification --lock
```

After installing, the package will be auto discovered, But if need you may run:

```
# run for auto discovery
composer dump-autoload
```

Then run this, to get the *config/note.php* for configurations:

```
# run this to get the configuartion file at config/note.php
php artisan vendor:publish --provider="Note\NoteServiceProvider"
```

You will have to provide this in the *.env* for the api configurations:

```
# This is the pagination number you want to paginate with
NOTE_NOTIFICATION_PAGINATE=
```

Usage
-----

[](#usage)

Follow the steps below on how to use the package:

```
# On the relating model use
public function notification(){
 return #the relationship
}
```

```
   use Note\Note;
  /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct() {
        //The instance should be your guard either admin,auth on so on.
    }

    /**
     * ---------------------------------
     * Read a notification.
     * ---------------------------------
     */
    public function readNotification() {
        Note::readNotification(PassNotificationID);//Pass notification model id.
    }

    /**
     * ---------------------------------
     * Read a trashed notification.
     * ---------------------------------
     */
    public function readTrashedNotification() {
        Note::readTrashedNotification(PassNotificationID);//Pass notification model id.
    }

    /**
     * ---------------------------------
     * Fetch Latest Notification Here
     * ---------------------------------
     */
    public function latestNotifications() {
        Note::latestNotifications();
    }

    /**
     * --------------------------------
     * Fetching all notifications
     * --------------------------------
     */
    public function allNotifications() {
        Note::allNotifications();
    }

    /**
     * --------------------------------
     * Fetching all unread notifications
     * --------------------------------
     */
    public function unreadNotifications() {
        Note::unreadNotifications();
    }

    /**
     * =-------------------------------
     * Deleting a single notification
     * ------------------------------------------------------------------------------
     * To achieve single notification create a route that receives a (string) notification_id
     * Note that this package uses uuids so the notification_id has to be a string
     * ----------------------------------------------------------------------------------------
     */
    public function deleteSingleNotification(string $notification_id) {
        Note::deleteSingleNotification($notification_id);//Pass notification model id.
    }

    /**
     * =-------------------------------
     * Deleting a trashed notification
     * ------------------------------------------------------------------------------
     * To achieve single notification create a route that receives a (string) notification_id
     * Note that this package uses uuids so the notification_id has to be a string
     * ----------------------------------------------------------------------------------------
     */
    public function deleteTrashedNotification(string $notification_id) {
        Note::deleteTrashNotification($notification_id);//Pass notification model id.
    }

    /**
     * =-------------------------------
     * Deleting a all notification
     * --------------------------------
     */
    public function deleteAllNotifications() {
        Note::deleteAllNotifications();
    }

   /**
     * --------------------------------------
     * Fetch the trashed notifications here
     * --------------------------------------
    */
    public function trashedNotifications(){
         Note::trashedNotifications();
    }

   /**
     * ------------------------------------------
     * Clear all the trashed notifications here
     * -----------------------------------------
    */
    public function clearTrashedNotifications(){
         Note::clearTrashedNotifications();
    }

    /**
     * --------------------------------
     * Creating new notification here
     * --------------------------------
     * In creating notification we need 4 parameters are required
     * -------------------------------------------------------------------------------------------------------
     */
    public function createSystemNotification() {
        //This is for creating user notifications
        Note::createSystemNotification('This will be the Model class i.e App\User','My Notification Subject', 'My Notification Message');
    }

    /**
     * ---------------------------
     * TODO SIMPLE PACKAGE NOTES
     * -----------------------------------------------------------------------------------------
     * For the functions used above can be changed to your own names to call the package names
     * -----------------------------------------------------------------------------------------
     */
```

Version Guidance
----------------

[](#version-guidance)

VersionStatusPackagistNamespaceRepo1.xLatest`shiftechafrica/laravel-notification``Note/NoteServiceProvider`[v1.0.6](https://github.com/SHIFTECH-AFRICA/laravel-notification/releases/tag/v1.0.6)Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

For any security vulnerabilities, please email to [Support](mailto:bugs@@shiftech.co.ke).

License
-------

[](#license)

This package is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance46

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~234 days

Recently: every ~191 days

Total

8

Last Release

407d ago

### Community

Maintainers

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

---

Top Contributors

[![general-oisebe](https://avatars.githubusercontent.com/u/154009443?v=4)](https://github.com/general-oisebe "general-oisebe (15 commits)")[![dev-techguy](https://avatars.githubusercontent.com/u/36882600?v=4)](https://github.com/dev-techguy "dev-techguy (4 commits)")[![shiftechafrica](https://avatars.githubusercontent.com/u/60717528?v=4)](https://github.com/shiftechafrica "shiftechafrica (1 commits)")

---

Tags

laravelnotificationlivewirenotification-channelslaravel guardslaravel livewire notification

### Embed Badge

![Health badge](/badges/shiftechafrica-laravel-notification/health.svg)

```
[![Health](https://phpackages.com/badges/shiftechafrica-laravel-notification/health.svg)](https://phpackages.com/packages/shiftechafrica-laravel-notification)
```

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1.7k1.1M5](/packages/mckenziearts-laravel-notify)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[brian2694/laravel-toastr

toastr.js for Laravel

136649.4k5](/packages/brian2694-laravel-toastr)[gr8shivam/laravel-sms-api

A modern, flexible Laravel package for integrating any SMS gateway with REST API support

10138.4k](/packages/gr8shivam-laravel-sms-api)

PHPackages © 2026

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