A MyAdmin plugin that integrates Parallels Plesk Automation (PPA) for automated webhosting provisioning and lifecycle management. It provides XML-RPC connectivity to PPA management nodes, handling account creation, subscription activation, webspace provisioning, and service deactivation/termination through the Symfony EventDispatcher hook system.
- XML-RPC 2 connector for Parallels Plesk Automation management nodes
- Full webhosting lifecycle: activate, reactivate, deactivate, terminate
- Account and subscription management via PPA API
- Webspace creation with configurable resource templates
- Domain-to-account lookup and reverse mapping
- Structured exception hierarchy for PPA error handling
- Symfony EventDispatcher integration for MyAdmin hook system
- PHP 8.2 or higher
- ext-soap
- Symfony EventDispatcher 5.x, 6.x, or 7.x
Install via Composer:
composer require detain/myadmin-pleskautomation-webhostingThis package is a MyAdmin plugin that registers event hooks automatically. The Plugin::getHooks() method returns all registered event handlers:
webhosting.settings- Plugin configuration in the admin panelwebhosting.activate- Provision a new PPA webhosting accountwebhosting.reactivate- Re-enable a suspended subscriptionwebhosting.deactivate- Suspend an active subscriptionwebhosting.terminate- Permanently disable a subscriptionfunction.requirements- Register helper function autoloading
composer install
vendor/bin/phpunitThis package is licensed under the LGPL-2.1 license. See the LICENSE file for details.