Load Balanced Sync
Synchronizes plugin, theme, and core updates across multiple WordPress instances in a load-balanced or distributed setup.
by George Stephanis · github.com/georgestephanis/load-balanced-sync · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/georgestephanis/load-balanced-sync/archive/refs/heads/trunk.zipReadme
Load Balanced Sync
Synchronizes plugin, theme, and core update events across multiple WordPress instances in a distributed or load-balanced environment.
Features
- Synchronizes plugin, theme, and core update events across trusted peers.
- Separates same-group automatic updates from cross-group notifications.
- Provides an admin log browser backed by JSONL log files in uploads.
- Supports downloading and viewing per-server weekly log files.
Development
Requirements
- PHP 8.0+
- Composer
- Node.js and npm
Install Dependencies
composer install
npm install
Run PHP Coding Standards (WPCS)
composer run lint
Run JavaScript Lint
npm run lint:js
Run SCSS/CSS Lint
npm run lint:css
Build Admin Assets
npm run build
Watch Admin Assets During Development
npm run start
Auto-format Source Files
npm run format
Project Layout
includes/: core services and update execution logicincludes/rest-api/: REST route controllersincludes/admin/: wp-admin UI, notices, and viewssrc/: authored JavaScript and SCSS source filesbuild/: generated admin assets produced by@wordpress/scripts
Notes
- The plugin admin UI expects built assets in
build/. - If
build/index.asset.phpis missing, the plugin shows an admin notice on its settings screen. - PHP lint excludes generated and dependency directories:
vendor/,node_modules/, andbuild/.