Installation
oPWA (v1.0.0) adds PWA capabilities without a third-party push service. Push uses self-hosted VAPID, the manifest is served by PHP, and the service worker is generated dynamically.
Requirements
- WordPress 6.5+
- PHP 7.4+ (8.1+ recommended)
- HTTPS (service workers only run on secure origins)
- PHP extensions:
opensslwith EC support;gmpif running PHP < 8.1 - Orravo Core installed and active
Steps
- Upload
opwa/to/wp-content/plugins/ - Activate via Plugins → Installed Plugins
- Navigate to Orravo Core → oPWA (the menu slug is
opwa-pwa) - Fill out the Manifest tab (app name, theme color, icon)
- Generate VAPID keys in Push Notifications → VAPID
What activation creates
- Three tables:
wp_opwa_subscribers,wp_opwa_campaigns,wp_opwa_analytics - Default precache URL list (home page + critical assets)
- Auto-detected site icon used as the manifest fallback
Constants
| Constant | Value |
|---|---|
OPWA_VERSION | 1.0.0 |
OPWA_OPTION | opwa_settings (the wp_options key) |
OPWA_PATH | absolute plugin dir |
OPWA_URL | plugin dir URL |
OPWA_DB_VERSION | 1.0 |

