Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/georgestephanis/load-balanced-sync/archive/refs/heads/trunk.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
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/.