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

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

semantechs/notification
=======================

Notification agent to handle all kind of notification with pusher

v2.1.5(1y ago)0129MITPHP

Since Mar 8Pushed 1y agoCompare

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

READMEChangelog (10)Dependencies (2)Versions (29)Used By (0)

Open composer.json and add following line

"autoload": {

```
    ....

    "psr-4": {

        ....

        "Sementechs\\Notification\\": "vendor/semantechs/notification/src/"

    }

},

```

Open app.php in config folder and add following line

'providers' =&gt; ServiceProvider::defaultProviders()-&gt;merge(\[

```
    ....

    Sementechs\Notification\NotificationServiceProvider::class,

])->toArray(),

```

Place your firebase service account file in storage folder and add file name in .env file

FIREBASE\_CREDENTIALS=file\_name.json

BROADCAST\_DRIVER=puhser

PUSHER\_APP\_ID=

PUSHER\_APP\_KEY=

PUSHER\_APP\_SECRET=

PUSHER\_HOST=

PUSHER\_PORT=443

Run following commands

composer dump-autoload

php artisan vendor:publish --tag=laravel-assets

php artisan migrate

Available Methods

1. Send Notification

$notificationObject = \[ 'sender\_id' =&gt; 1, 'receiver\_ids' =&gt; \[ 1, 2, 3 \], 'channel' =&gt; 'web', // web, mobile 'body' =&gt; \[ 'title' =&gt; 'Title', 'body' =&gt; 'Detail' \], 'type' =&gt; 'admin' // admin, user \];

NotificationController::sendNotification($notificationObject);

2. Get All Notification

$type = web/user

NotificationController::getAllNotifications($type, $userId)

3. Read All Notifications

$data = objects of all notifications

NotificationController::readAll($data)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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 ~8 days

Total

27

Last Release

599d ago

Major Versions

v1.1.9 → v2.0.02024-07-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/819c14be323678fcc8532787190b9268623db7a919624b4b67d3546539cb16b7?d=identicon)[m-tahaahmad](/maintainers/m-tahaahmad)

---

Top Contributors

[![m-tahaahmad](https://avatars.githubusercontent.com/u/22649785?v=4)](https://github.com/m-tahaahmad "m-tahaahmad (38 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel-notification-channels/fcm

FCM (Firebase Cloud Messaging) Notifications Driver for Laravel

5917.0M16](/packages/laravel-notification-channels-fcm)[coreproc/nova-notification-feed

A Laravel Nova package that adds a notification feed in your Nova app.

10149.1k](/packages/coreproc-nova-notification-feed)

PHPackages © 2026

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