detain / myadmin-pleskautomation-webhosting
MyAdmin PleskAutomation Webhosting Plugin - Provides Parallels Plesk Automation (PPA) integration for webhosting provisioning, including account creation, subscription management, and webspace lifecycle operations via XML-RPC.
Package info
github.com/myadmin-plugins/pleskautomation-webhosting
Type:myadmin-plugin
pkg:composer/detain/myadmin-pleskautomation-webhosting
Requires
- php: >=5.0.0
- ext-soap: *
- detain/myadmin-plugin-installer: dev-master
- symfony/event-dispatcher: >=2.8.26
Requires (Dev)
- codacy/coverage: dev-master
- codeclimate/php-test-reporter: dev-master
- phpunit/phpunit: *
- phpunit/phpunit-mock-objects: *
- satooshi/php-coveralls: *
- vlucas/phpdotenv: *
This package is auto-updated.
Last update: 2026-03-19 17:09:48 UTC
README
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.
Features
- 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
Requirements
- PHP 8.2 or higher
- ext-soap
- Symfony EventDispatcher 5.x, 6.x, or 7.x
Installation
Install via Composer:
composer require detain/myadmin-pleskautomation-webhosting
Usage
This 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
Testing
composer install vendor/bin/phpunit
License
This package is licensed under the LGPL-2.1 license. See the LICENSE file for details.