escolalms/bulk-notifications
Escola Headless LMS Bulk Notifications
Maintainers
Package info
github.com/EscolaLMS/Bulk-Notifications
Type:package
pkg:composer/escolalms/bulk-notifications
Requires
- php: >=7.4
- escolalms/auth: ^0
- escolalms/core: ^1
- escolalms/settings: ^0
- kreait/laravel-firebase: >=4
- laravel/framework: >=8.0
Requires (Dev)
- darkaonline/l5-swagger: 8.1.0
- escolalms/courses: ^0.4
- orchestra/testbench: >=5.0
- phpunit/phpunit: ^9.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT 2ad27cd7d3ae1232e296b2ca041f06dd2bdccd29
- Tomasz Smolarek <tomasz.smolarek.woop@escolasoft.com>
README
👁 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-notificationsphp artisan migratephp 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 keybase_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
