escolalms/bulk-notifications

Escola Headless LMS Bulk Notifications
3,764
Install
composer require escolalms/bulk-notifications
Latest Version:0.0.7
PHP:>=7.4
License:MIT
Last Updated:Mar 28, 2024
Links: GitHub  ·  Packagist
Maintainer: qunabu

Bulk-Notifications

swagger codecov phpunit downloads downloads downloads

What does it do

This package is used to send bulk notifications through various channels. The available channels are PushNotification.

PushNotifications

Sending push notifications is through FCM (Firebase Cloud Messaging). Push messages can be sent to a list of users or to all users of the system. Messages are sent to registered FCM tokens.

Installing

  • composer require escolalms/bulk-notifications
  • php artisan migrate
  • php artisan db:seed --class="EscolaLms\BulkNotifications\Database\Seeders\BulkNotificationPermissionSeeder"

Configuration

The config.php configuration file is divided into channels.

For the push channel, you can configure:

  • service_account - FCM access key
  • base_redirect_url - base url set in notifications for the redirect_url field
[
    'push' => [
        'service_account' => [],
        'base_redirect_url' => null
    ]
];

Endpoints

All the endpoints are defined in swagger swagger

Test details codecov Tests PHPUnit in environments

Events

  • NotificationSent - The notification has been created.

The event is listened to by the escolalms/notifications package.

Permissions

Permissions are defined in seeder

Related Packages

mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

21,010,090 1,982
kyslik/column-sortable

Package for handling column sorting in Laravel 6.x

6,282,182 647
mews/captcha

Laravel 5/6/7/8/9/10/11/12 Captcha Package

6,095,827 2,586
ajthinking/archetype

Programmatically edit PHP and Laravel files.

4,372,487 272