Installation

The following components are necessary to make notifications work:

  • Brotcast
  • Web Push (for Browser notifications, optional)

Installing Brotcast

Consult the corresponding docs .

Installing Webpush

This should happen automatically when initializing Brezel .

The only step involves setting up the VAPID keys (VAPID_PRIVATE_KEY and VAPID_PUBLIC_KEY). Run

php bakery init

or, if you use the api repository directly:

php artisan webpush:vapid