PHPackages                             finnwiel/shazzoo-notify - 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. finnwiel/shazzoo-notify

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

finnwiel/shazzoo-notify
=======================

A Laravel Package for shazzoo notifications

v1.1.1(9mo ago)011MITPHPPHP ^8.0

Since Jun 19Pushed 9mo agoCompare

[ Source](https://github.com/FinnWiel/shazzoo-notify-laravel)[ Packagist](https://packagist.org/packages/finnwiel/shazzoo-notify)[ RSS](/packages/finnwiel-shazzoo-notify/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

Shazzoo Mobile Notifications
============================

[](#shazzoo-mobile-notifications)

A Laravel package to manage Expo push notifications with per-device preferences for the Shazzoo mobile app.

[![Packagist Version](https://camo.githubusercontent.com/d32c5785376dbdda91a659387fe4d60698440078c1b9ab8295254a430c128b62/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66696e6e7769656c2f7368617a7a6f6f2d6e6f746966792e737667)](https://packagist.org/packages/finnwiel/shazzoo-notify)[![Laravel](https://camo.githubusercontent.com/53f994a897d083946738e0bc5943400cc950fa40f004eb4ba44bc2385b2f45ef/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d31322e782d726564)](https://camo.githubusercontent.com/53f994a897d083946738e0bc5943400cc950fa40f004eb4ba44bc2385b2f45ef/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d31322e782d726564)[![PHP](https://camo.githubusercontent.com/cc9cdea9aa96b40a822425e981b0a030e3371202973c7d57b74e8e99834f81dc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e312d626c7565)](https://camo.githubusercontent.com/cc9cdea9aa96b40a822425e981b0a030e3371202973c7d57b74e8e99834f81dc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e312d626c7565)

Features
--------

[](#features)

- Send push notification to registered phones.
- Send notifications to registered pc's.
- Per device preferences for notification's.

Installation
------------

[](#installation)

```
composer require finnwiel/shazzoo-notify

```

#### Publish the migrations

[](#publish-the-migrations)

```
php artisan shazzoo-notify:install

```

#### Ensure the Laravel API and broadcasting stack are installed:

[](#ensure-the-laravel-api-and-broadcasting-stack-are-installed)

```
php artisan install:api
php artisan install:broadcasting //reverb

```

Make sure to add the `HasApiTokens` to the `user` model.

Also check if your `.env` file contains the correct settings for reverb.

```
BROADCAST_CONNECTION=reverb
BROADCAST_DRIVER=reverb

REVERB_APP_ID=
REVERB_APP_KEY=
REVERB_APP_SECRET=
REVERB_HOST="localhost"
REVERB_PORT=8080
REVERB_SCHEME=http
REVERB_PATH=

VITE_REVERB_APP_KEY="${REVERB_APP_KEY}"
VITE_REVERB_HOST="${REVERB_HOST}"
VITE_REVERB_PORT="${REVERB_PORT}"
VITE_REVERB_SCHEME="${REVERB_SCHEME}"

```

Usage
-----

[](#usage)

### Authentication

[](#authentication)

In the mobile app you can login with any user that has a profile on your laravel website. This package then stores the Expo token in a database together with the device type. This expo token is needed to send notifications.

For the desktop app you can also login using a profile that is registered in your app. This wil set a uuid to identify the pc and also set the device type to desktop.

Upon login your prefrences will all be set to `enabled`, if you want to disable them you will need to do so in the mobile app.

### Sending Notifications

[](#sending-notifications)

The notifications to desktop are sent via a websocket connection. So make sure to start reverb.

```
php artisan reverb:start

```

- Use the provided Artisan command to send notifications:

```
php artisan shazzoo:notify

```

The command also accepts some tags:

TagDescription`--user=`Takes in the `email` or `id` of a user`--type=`Sets the type of notificaition you want to send.`--title=`Sets the title of the notification`--body=`Sets the body of the notification`--url=`Sets the url when clicking on the notification#### Notification Types

[](#notification-types)

You can define your own notification types. This package provides a `notification_types` table, where each type includes:

- A unique name
- A description

These types help organize and filter which notifications are sent and managed.

### Queue

[](#queue)

By default laravel uses a queue to send the events, so you will have to run:

```
php artisan queue:work

```

If you dont want the notifications to be sent on a queue you can set the `QUEUE_CONNECTION` to sync in the `.env` file.

License
-------

[](#license)

This package is open-sourced software licensed under the MIT license.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance57

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

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

Total

4

Last Release

282d ago

Major Versions

v0.1.0 → v1.0.02025-06-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/91fe70d3d41b1fbd8b3e8973502b8d8a866d2593847e977ab0ac158e3c09dc31?d=identicon)[FinnWiel](/maintainers/FinnWiel)

---

Top Contributors

[![FinnWiel](https://avatars.githubusercontent.com/u/117499223?v=4)](https://github.com/FinnWiel "FinnWiel (17 commits)")

### Embed Badge

![Health badge](/badges/finnwiel-shazzoo-notify/health.svg)

```
[![Health](https://phpackages.com/badges/finnwiel-shazzoo-notify/health.svg)](https://phpackages.com/packages/finnwiel-shazzoo-notify)
```

###  Alternatives

[spatie/laravel-failed-job-monitor

Get notified when a queued job fails

1.0k2.6M4](/packages/spatie-laravel-failed-job-monitor)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/apn

Apple APN Push Notification Channel

2021.9M4](/packages/laravel-notification-channels-apn)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[illuminate/mail

The Illuminate Mail package.

5910.1M391](/packages/illuminate-mail)

PHPackages © 2026

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