WP Manifestindependent plugin directory
manifest / integrations / ali-data-orchestrator

Ali Data Orchestrator

my wordpress Ali-data-orchestrator plugin

by Muhammad Ali · github.com/muha3245/ali-data-orchestrator

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/muha3245/ali-data-orchestrator/archive/refs/heads/main.zip

Overview

This plugin retrieves, caches, and displays user data from a remote API. It supports Gutenberg dynamic blocks, WP-CLI commands, and an admin refresh page.

Architecture

  • Core Plugin Class (Plugin.php)
  • Service Layer (UserDataService)
  • REST API (RestController)
  • Admin Page (AdminPage)
  • WP-CLI Commands (Commands)
  • Gutenberg Block (src/ + build/)

Features

  • Dynamic Gutenberg block
  • Admin refresh page
  • REST API endpoint
  • WP-CLI support
  • Cached fallback on API failure
  • Responsive and styled table
  • Internationalized strings

Setup

  1. Install Composer dependencies: composer install
  2. Install npm dependencies: npm install
  3. Build assets: npm run build
  4. Activate plugin in WordPress

Error Handling

  • Uses WP_Error for API failures.
  • Fallback to cache if API is unavailable.
  • Admin notices for refresh success/failure.

Internationalization

  • Text domain: ali-data-orchestrator
  • Translatable strings with __() and _e()

Submission

  • Ensure /vendor and /build folders are included.
  • Git repository should have clean commit history.