Notifications package
This package is used for logging and broadcasting notifications for all EscolaLms
packages events.
composer require escolalms/notifications
php artisan migrate
php artisan db:seed --class="EscolaLms\Notifications\Database\Seeders\NotificationsPermissionsSeeder"
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.
All the endpoints are defined in
Run ./vendor/bin/phpunit --filter 'EscolaLms\\Notifications\\Tests'
to run tests. See tests folder as it's quite good staring point as documentation appendix.
Permissions are defined in seeder
No Events are defined in this package.
EscolaLms\Notifications\Listeners\NotifiableEventListener
- this listener listens to all events inEscolaLms
namespace
- ???