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

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

tecksolke/note
==============

This is a custom system notification channel.

v2.0.3(5y ago)12411MITPHP

Since Aug 22Pushed 5y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (18)Used By (0)

[![](https://camo.githubusercontent.com/c5f545b01471045345880ae1d7832a5009c92fc5b82d43d8d590e36c8523c05b/68747470733a2f2f7465636b736f6c2e636f2e6b652f696d6167652f6c6f676f2e706e67)](#)

[](#)

 **Makes Laravel Notification a Breeze...**
 [ ![](https://camo.githubusercontent.com/17941a0dda34039fd2100830aab7d515644b7e2b9066a23ae8f6bb4ac27f898b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6465762d7465636b736f6c6b652f6e6f7465) ](https://github.com/dev-tecksolke/note/issues) [ ![](https://camo.githubusercontent.com/f7c056dc4a6cc0e51792bc71ca7603264e2ac114e04e5e0359302d44bd7d5f9c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6465762d7465636b736f6c6b652f6e6f7465) ](https://github.com/dev-tecksolke/note/network/members) [ ![](https://camo.githubusercontent.com/73e93b3e612392dabd929a11dae4fb7fe59f1d2790d20b0beddfb0f0538c667c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6465762d7465636b736f6c6b652f6e6f7465) ](https://github.com/dev-tecksolke/note/stargazers) [ ![](https://camo.githubusercontent.com/23a2afab9a661687ff8f27471040265b39983b3ac6327205cd2a9d6f4bba484c/68747470733a2f2f706f7365722e707567782e6f72672f7465636b736f6c6b652f6e6f74652f762f737461626c65) ](https://packagist.org/packages/tecksolke/note) [ ![](https://camo.githubusercontent.com/d6fbced8f38743362d9b3db39785c4c01b1daa82536eb2c391a02faa2cc228de/68747470733a2f2f706f7365722e707567782e6f72672f7465636b736f6c6b652f6e6f74652f646f776e6c6f616473) ](https://packagist.org/packages/tecksolke/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 *tecksolke/note* is through [Composer](http://getcomposer.org).

```
# Install package via composer
composer require tecksolke/note
```

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

```
# Update package via composer
 composer require tecksolke/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.xEOL`tecksolke/note``Note/NoteServiceProvider`[v1.9.9](https://github.com/dev-tecksolke/note/releases/tag/v1.9.9)2.xLatest`tecksolke/note``Note/NoteServiceProvider`[v2.0.1](https://github.com/dev-tecksolke/note/releases/tag/v2.0.1)Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

For any security vulnerabilities, please email to [TechGuy](mailto:dev.techguy@@gmail.com).

License
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 91.3% 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 ~26 days

Total

16

Last Release

2067d ago

Major Versions

v1.9.9 → v2.0.02020-05-30

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravelnotificationnotification-channels

### Embed Badge

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

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

PHPackages © 2026

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