upmind / provision-provider-shared-hosting
This provision category contains the common functions used in provisioning flows for accounts/websites on various popular shared hosting platforms.
Installs: 411
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 7
Open Issues: 21
pkg:composer/upmind/provision-provider-shared-hosting
Requires
- php: 8.1 - 8.3
 - ext-curl: *
 - ext-json: *
 - ext-soap: *
 - giggsey/libphonenumber-for-php-lite: ^8
 - illuminate/support: ^6.20 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0
 - plesk/api-php-lib: ^1.1
 - upmind/20i-php-sdk: ^1.1
 - upmind/enhance-sdk: ^10
 - upmind/provision-provider-base: ^4.0
 
Requires (Dev)
- phpstan/phpstan: ^1.10
 
- dev-main
 - v6.12.0
 - v6.11.0
 - v6.10.5
 - v6.10.4
 - v6.10.3
 - v6.10.2
 - v6.10.1
 - v6.10.0
 - v6.9.1
 - v6.9.0
 - v6.8.4
 - v6.8.3
 - v6.8.2
 - v6.8.1
 - v6.8.0
 - v6.7.11
 - v6.7.10
 - v6.7.9
 - v6.7.8
 - v6.7.7
 - v6.7.6
 - v6.7.5
 - v6.7.4
 - v6.7.3
 - v6.7.2
 - v6.7.1
 - v6.7.0
 - v6.6.29
 - v6.6.28
 - v6.6.27
 - v6.6.26
 - v6.6.25
 - v6.6.24
 - v6.6.23
 - v6.6.22
 - v6.6.21
 - v6.6.20
 - v6.6.19
 - v6.6.18
 - v6.6.17
 - v6.6.16
 - v6.6.15
 - v6.6.14
 - v6.6.13
 - v6.6.12
 - v6.6.11
 - v6.6.10
 - v6.6.9
 - v6.6.8
 - v6.6.7
 - v6.6.6
 - v6.6.5
 - v6.6.4
 - v6.6.3
 - v6.6.2
 - v6.6.1
 - v6.6.0
 - v6.5.2
 - v6.5.1
 - v6.5.0
 - v6.4.1
 - v6.4.0
 - v6.3.1
 - v6.3.0
 - v6.2.1
 - v6.2.0
 - v6.1.3
 - v6.1.2
 - v6.1.1
 - v6.1.0
 - v6.0.3
 - v6.0.2
 - v6.0.1
 - v6.0.0
 - v5.8.2
 - v5.8.1
 - v5.8
 - v5.7
 - v5.6.6
 - v5.6.5
 - v5.6.4
 - v5.6.3
 - v5.6.2
 - v5.6.1
 - v5.6.0
 - v5.5.1
 - v5.5.0
 - v5.4.4
 - v5.4.3
 - v5.4.2
 - v5.4.1
 - v5.4.0
 - v5.3.0
 - v5.2.5
 - v5.2.4
 - v5.2.3
 - v5.2.2
 - v5.2.1
 - v5.2.0
 - v5.1.1
 - v5.1.0
 - v5.0.0
 - v4.3.1
 - v4.3.0
 - v4.2.6
 - v4.2.5
 - v4.2.4
 - v4.2.3
 - v4.2.2
 - v4.2.1
 - v4.2
 - v4.1
 - v4.0.1
 - v4.0
 - dev-v6.6-dev
 - dev-feature/69-webuzo-provider
 - dev-feature/63-spanel-updates
 - dev-feature/71-cpanel-change-package-update-primary-domain
 - dev-feature/63-spanel
 
This package is auto-updated.
Last update: 2025-10-27 14:15:11 UTC
README
This provision category contains the common functions used in provisioning flows for accounts/websites on various popular shared hosting platforms.
Installation
composer require upmind/provision-provider-shared-hosting
Usage
This library makes use of upmind/provision-provider-base primitives which we suggest you familiarize yourself with by reading the usage section in the README.
Quick-start
The easiest way to see this provision category in action and to develop/test changes is to install it in upmind/provision-workbench.
Alternatively you can start using it for your business immediately with Upmind.com - the ultimate web hosting billing and management solution.
If you wish to develop a new Provider, please refer to the WORKFLOW guide.
Supported Providers
The following providers are currently implemented:
- cPanel/WHM
 - Plesk (Onyx/Obsidian)
 - 20i
 - Enhance
 - InterWorx
 - SolidCP
 - DirectAdmin
 - CentOS Web Panel (CWP)
 - PanelAlpha
 - Webuzo
 
Functions
| Function | Parameters | Return Data | Description | 
|---|---|---|---|
| create() | CreateParams | AccountInfo | Create a web hosting account / website | 
| getInfo() | AccountUsername | AccountInfo | Get information about a hosting account such as the main domain name, whether or not it is suspended, the hostname of it's server, nameservers etc | 
| getUsage() | AccountUsername | AccountUsage | Gets usage information about an account/reseller such as disk space, bandwidth, number of sub-accounts etc | 
| getLoginUrl() | GetLoginUrlParams | LoginUrl | Obtain a signed URL to automatically log into a hosting account | 
| changePassword() | ChangePasswordParams | EmptyResult | Change the password of a hosting account | 
| changePackage() | ChangePackageParams | AccountInfo | Update the product/package a hosting account is set to | 
| suspend() | SuspendParams | AccountInfo | Suspend service for a hosting account | 
| unSuspend() | AccountUsername | AccountInfo | Un-suspend service for a hosting account | 
| terminate() | AccountUsername | EmptyResult | Completely delete a hosting account | 
| grantReseller() | GrantResellerParams | ResellerPrivileges | Grant reseller privileges to a web hosting account, if supported | 
| revokeReseller() | AccountUsername | ResellerPrivileges | Revoke reseller privileges from a web hosting account, if supported | 
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
- Harry Lewis
 - Nikolai Arsov
 - Codeline
 - Nikolay Bogdanov
 - Ana Carrasco
 - Roussetos Karafyllakis
 - All Contributors
 
License
GNU General Public License version 3 (GPLv3). Please see License File for more information.
Upmind
Sell, manage and support web hosting, domain names, ssl certificates, website builders and more with Upmind.com.