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.

Maintainers

Package info

github.com/myadmin-plugins/pleskautomation-webhosting

Type:myadmin-plugin

pkg:composer/detain/myadmin-pleskautomation-webhosting

Statistics

Installs: 464

Dependents: 0

Suggesters: 0

Stars: 4

Open Issues: 1

v2.0.0 2019-04-04 08:08 UTC

This package is auto-updated.

Last update: 2026-03-19 17:09:48 UTC


README

Tests Latest Stable Version Total Downloads License

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 panel
  • webhosting.activate - Provision a new PPA webhosting account
  • webhosting.reactivate - Re-enable a suspended subscription
  • webhosting.deactivate - Suspend an active subscription
  • webhosting.terminate - Permanently disable a subscription
  • function.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.