PHPackages                             dev-techguy/note - 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. dev-techguy/note

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

dev-techguy/note
================

This is a custom system notification channel.

v1.0.3(3y ago)1987↓75%1MITPHP

Since Oct 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/dev-techguy/note)[ Packagist](https://packagist.org/packages/dev-techguy/note)[ RSS](/packages/dev-techguy-note/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (7)Used By (0)

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

[](#)

 **Makes Laravel Notification a Breeze...**
 [ ![](https://camo.githubusercontent.com/255a0739c3b46438302246ff5d9e14435c23c0bcfb6b271b5901946ff663e901/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6465762d746563686775792f6e6f7465) ](https://github.com/dev-techguy/note/issues) [ ![](https://camo.githubusercontent.com/7afdd0367c32358f628c77a0de9f97303a476f20245ebe6b8b1f3c961d747aa3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6465762d746563686775792f6e6f7465) ](https://github.com/dev-techguy/note/network/members) [ ![](https://camo.githubusercontent.com/098cfc5e42f08ed434c469116c5c95499b9901f68a233efb1d82aa9940081f39/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6465762d746563686775792f6e6f7465) ](https://github.com/dev-techguy/note/stargazers) [ ![](https://camo.githubusercontent.com/ed7078800fe4095efa0ad92cba664ebc1d1c894f968c436a0b5202054cd16499/68747470733a2f2f706f7365722e707567782e6f72672f6465762d746563686775792f6e6f74652f762f737461626c65) ](https://packagist.org/packages/dev-techguy/note) [ ![](https://camo.githubusercontent.com/7715ece0ce230ad0445ef817a4752d8cf7d82dfc5f3a2898e94198374de2879c/68747470733a2f2f706f7365722e707567782e6f72672f6465762d746563686775792f6e6f74652f646f776e6c6f616473) ](https://packagist.org/packages/dev-techguy/note)

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 *dev-techguy/note* is through [Composer](http://getcomposer.org).

```
# Install package via composer
composer require dev-techguy/note
```

Next, run the Composer command to install the latest stable version of *dev-techguy/note*:

```
# Update package via composer
 composer require dev-techguy/note --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=

# set all the guards to use within the system
SYSTEM_GUARDS=admin,web
```

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`dev-techguy/note``Note/NoteServiceProvider`[v1.0.1](https://github.com/dev-techguy/note/releases/tag/v1.0.1)Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

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

License
-------

[](#license)

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

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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 ~218 days

Total

5

Last Release

1179d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e3eb77101c156056b3f28161aa60d2f8acbe665ccef40a5f4701eeb06902cc01?d=identicon)[dev-techguy](/maintainers/dev-techguy)

---

Top Contributors

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

---

Tags

laravelnotificationnotification-channels

### Embed Badge

![Health badge](/badges/dev-techguy-note/health.svg)

```
[![Health](https://phpackages.com/badges/dev-techguy-note/health.svg)](https://phpackages.com/packages/dev-techguy-note)
```

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