wyatts97/pwa-v2

Turn your flarum site into a progressive web app! (Flarum 2.x port)

Maintainers

Package info

github.com/wyatts97/pwa-v2

Type:flarum-extension

pkg:composer/wyatts97/pwa-v2

Statistics

Installs: 33

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v2.1.2 2026-05-13 16:45 UTC

This package is auto-updated.

Last update: 2026-05-13 16:46:42 UTC


README

License

A Flarum extension. Progressive Web App support for Flarum 2.x with VAPID web-push notifications. Configure a PWA for your Flarum installation from your admin dashboard.

This is a fork of askvortsov/flarum-pwa updated for Flarum 2.x compatibility. Firebase/FCM support has been dropped; web-push (VAPID) is supported by all modern browsers including Chrome, Edge, Firefox, and Safari iOS 16.4+.

Features

  • Installable as a standalone Progressive Web App
  • Configurable web app manifest (short name, long name, theme color, background color, force portrait, window controls overlay)
  • Per-size icon uploads (48 / 72 / 96 / 144 / 196 / 256 / 512 px)
  • Service worker registration with offline fallback page
  • VAPID web-push notifications wired into Flarum's notification system
  • Native share button integration in discussion / post / user controls
  • Per-user opt-in push preferences via Settings page

Installation

composer require wyatts97/pwa-v2

Updating

composer update wyatts97/pwa-v2
php flarum cache:clear

Configuration

Visit Admin → Extensions → Progressive Web App. Upload at least one icon (≥144 px) and set the short/long name. Generate VAPID keys via the "Reset VAPID keys" button. Users opt in to push notifications from their personal Settings page.

Credits

Links