Abuja Digital Studio · Est. 2018
Start a Project
DocsoPWAInstallation
Getting Started

Installation

oPWAorravo.com/docs/opwa/installation

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: openssl with EC support; gmp if running PHP < 8.1
  • Orravo Core installed and active

Steps

  1. Upload opwa/ to /wp-content/plugins/
  2. Activate via Plugins → Installed Plugins
  3. Navigate to Orravo Core → oPWA (the menu slug is opwa-pwa)
  4. Fill out the Manifest tab (app name, theme color, icon)
  5. 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

ConstantValue
OPWA_VERSION1.0.0
OPWA_OPTIONopwa_settings (the wp_options key)
OPWA_PATHabsolute plugin dir
OPWA_URLplugin dir URL
OPWA_DB_VERSION1.0
Installation · oPWA Docs | Orravo