PHPackages                             ilbronza/notifications - 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. ilbronza/notifications

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

ilbronza/notifications
======================

:laravel notifications extended

0225PHP

Since Mar 29Pushed 3w ago2 watchersCompare

[ Source](https://github.com/ilBronza/Notifications)[ Packagist](https://packagist.org/packages/ilbronza/notifications)[ RSS](/packages/ilbronza-notifications/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Notifications
=============

[](#notifications)

Messaggi vocali
---------------

[](#messaggi-vocali)

Il package include una funzionalità per inviare messaggi vocali come notifiche:

1. **Schermata utenti**: `/notifications-manager/voice-messages` - lista di tutti gli utenti
2. **Registrazione**: clic su un utente apre un modal per registrare un messaggio vocale
3. **Invio**: il messaggio viene salvato e inviato come notifica audio al destinatario

### Configurazione

[](#configurazione)

Pubblica la config e personalizza in `config/notifications.php`:

```
'voiceMessages' => [
    'user_model' => \App\Models\User::class,  // Modello User dell'app
    'storage_disk' => 'notifications_audio',  // Disk dedicato, personalizzabile per progetto
    'storage_path' => '',  // Sottocartella nel disk (vuoto = root del disk)
    'disk_config' => [  // Config del disk se non definito in config/filesystems.php
        'driver' => 'local',
        'root' => storage_path('app/public/notifications_audio'),
        'url' => env('APP_URL') . '/storage/notifications_audio',
        'visibility' => 'public',
    ],
],
'layout' => 'layouts.app',  // Layout per la pagina messaggi vocali
```

Per usare S3 o un altro driver, definisci il disk `notifications_audio` in `config/filesystems.php`:

```
'notifications_audio' => [
    'driver' => 's3',
    'key' => env('AWS_ACCESS_KEY_ID'),
    'secret' => env('AWS_SECRET_ACCESS_KEY'),
    'region' => env('AWS_DEFAULT_REGION'),
    'bucket' => env('AWS_BUCKET'),
    'url' => env('AWS_URL'),
],
```

### Speech-to-text (trascrizione)

[](#speech-to-text-trascrizione)

Helper esterno per trascrivere le note vocali. Chiamabile quando serve:

```
use IlBronza\Notifications\Helpers\SpeechToTextHelper;

// Da path assoluto
$testo = SpeechToTextHelper::transcribe('/path/to/audio.webm');

// Da path relativo allo storage
$testo = SpeechToTextHelper::transcribe('file.webm', 'notifications_audio');

// Da URL
$testo = SpeechToTextHelper::transcribe('https://example.com/audio.webm');

// Con lingua specifica (es. italiano)
$testo = SpeechToTextHelper::transcribe('file.webm', 'notifications_audio', 'it');
```

Configura in `.env`:

```
OPENAI_API_KEY=sk-...
NOTIFICATIONS_SPEECH_TO_TEXT_DRIVER=openai_whisper

```

### Requisiti

[](#requisiti)

- Eseguire `php artisan storage:link` per rendere accessibili i file audio (con disk locale)
- Il modello User deve implementare `ExtendedNotifiable` per ricevere le notifiche

---

remember to create the artisan command

migrate add use ExtendedNotifiable; to AccountManager User and Role

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance62

Regular maintenance activity

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 Bus Factor1

Top contributor holds 83.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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/33c65523e8a1cdfe8ed5f5fb8d90101b28eceb8c2ef7acb50a24cf6c42b8e639?d=identicon)[ilBronza](/maintainers/ilBronza)

---

Top Contributors

[![bronza](https://avatars.githubusercontent.com/u/3426331?v=4)](https://github.com/bronza "bronza (15 commits)")[![ilBronza](https://avatars.githubusercontent.com/u/68387610?v=4)](https://github.com/ilBronza "ilBronza (2 commits)")[![lbortolon](https://avatars.githubusercontent.com/u/109848849?v=4)](https://github.com/lbortolon "lbortolon (1 commits)")

### Embed Badge

![Health badge](/badges/ilbronza-notifications/health.svg)

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

###  Alternatives

[maize-tech/laravel-email-domain-rule

Laravel Email Domain Rule

612.0k](/packages/maize-tech-laravel-email-domain-rule)

PHPackages © 2026

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