escolalms / notifications
Escola LMS Notifications
Installs: 10 024
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:package
Requires
- php: >=7.4|>=8
- escolalms/core: ^1
- escolalms/templates: ^0
- laravel/framework: >=8.0
Requires (Dev)
- orchestra/testbench: ^6
- phpunit/phpunit: ^9.0
- dev-main
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.17
- 0.2.16
- 0.2.15
- 0.2.14
- 0.2.13
- 0.2.12
- 0.2.11
- 0.2.10
- 0.2.9
- 0.2.8
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.0
- 0.0.12
- 0.0.11
- 0.0.10
- 0.0.9
- 0.0.8
- 0.0.7
- 0.0.6
- 0.0.5
- 0.0.4
- 0.0.3
- 0.0.2
- dev-feature/readme
- dev-feature/#119
- dev-feature/update-routing
- dev-feature/database-notification-filtering
This package is auto-updated.
Last update: 2024-10-28 16:39:41 UTC
README
Notifications package
What does it do
This package is used for logging and broadcasting notifications for all EscolaLms
packages events.
Installation
composer require escolalms/notifications
php artisan migrate
php artisan db:seed --class="EscolaLms\Notifications\Database\Seeders\NotificationsPermissionsSeeder"
Usage
All events emitted by EscolaLms packages will be logged in database and can be listed through API (and Admin Panel). There is a configuration file in which you can define events which should be excluded from being stored.
Endpoints
All the endpoints are defined in
Tests
Run ./vendor/bin/phpunit --filter 'EscolaLms\\Notifications\\Tests'
to run tests. See tests folder as it's quite good staring point as documentation appendix.
Admin panel
Left menu
List of notifications
Permissions
Permissions are defined in seeder
Events
No Events are defined in this package.
Listeners
EscolaLms\Notifications\Listeners\NotifiableEventListener
- this listener listens to all events inEscolaLms
namespace
Roadmap. Todo. Troubleshooting
- ???