The view composer injects a variable $notifications into the view. It is a collection of all notifications that were created or read. Now you can use this template to ...
to the require section of your composer.json file. Using the registerAsDefaults above really comes in handy when you need to trigger alerts from multiple places but ...