fof / pwa
Turn your flarum site into a progressive web app!
Fund package maintenance!
Requires
- php: ^8.3
- flarum/core: ^2.0.0-rc.5
- kreait/firebase-php: ^8.4.0
- minishlink/web-push: ^11.0.0
- spomky-labs/base64url: ^2.0.4
Requires (Dev)
- flarum/gdpr: ^2.0@RC
- flarum/phpstan: ^2.0.0-rc.5
Suggests
- ext-gmp: This can improve push notification performance.
Replaces
This package is auto-updated.
Last update: 2026-08-17 12:58:24 UTC
README
A Flarum extension. Progressive Web App support for Flarum. Configure a progressive web app for your flarum installation, all from your admin dashboard! Also supports push notifications!
Please see resources like https://medium.com/pynk/what-is-a-pwa-and-how-to-install-add-to-home-screen-progressive-web-apps-e6e8087d9ad0 for more information on how to install this.
Installation
composer require fof/pwa
Note
Flarum 1.x depends on older versions of Monolog and psr/log. As a result, the latest compatible version of kreait/firebase-php depends on firebase/php-jwt, which Composer blocks due to the disputed advisory PKSA-y2cr-5h3j-g3ys.
To install this extension on Flarum 1.x, add a targeted exception for this advisory and ignore the PHP platform requirement:
composer config policy.advisories.ignore-id PKSA-y2cr-5h3j-g3ys composer require fof/pwa --ignore-platform-req=php
The PHP platform requirement is ignored because newer kreait/firebase-php releases cannot be installed alongside Flarum 1.x dependencies, and the compatible releases do not declare support for PHP 8.5.
Updating
composer update fof/pwa
Credit
- Billy Wilcosky – for starting PWA support for Flarum.
- Alexander Skvortsov – for reviving and expanding the extension with push notification support.
- FriendsOfFlarum – current maintainers.