manifest / integrations / ali-data-orchestrator
Ali Data Orchestrator
my wordpress Ali-data-orchestrator plugin
★ 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.zipOverview
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
- Install Composer dependencies:
composer install - Install npm dependencies:
npm install - Build assets:
npm run build - Activate plugin in WordPress
Error Handling
- Uses
WP_Errorfor 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
/vendorand/buildfolders are included. - Git repository should have clean commit history.