PHPackages                             macromindonline/php-plesk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. macromindonline/php-plesk

ActiveLibrary[API Development](/categories/api)

macromindonline/php-plesk
=========================

PHP client for the Plesk RPC API

v0.5.6(11y ago)019BSDPHPPHP &gt;=5.3.0

Since Oct 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/macromindonline/php-plesk)[ Packagist](https://packagist.org/packages/macromindonline/php-plesk)[ Docs](https://github.com/pmill/php-plesk)[ RSS](/packages/macromindonline-php-plesk/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (25)Used By (0)

php-plesk
=========

[](#php-plesk)

Introduction
------------

[](#introduction)

This package contains a PHP client for the Plesk RPC API.

The following features are currently supported:

- List IP addresses
- List service plans
- Get server information and stats
- List/add/update/delete clients
- List/add/update/delete subscriptions
- List/add/update/delete sites
- List/add/update/delete email addresses
- List/add/update/delete domain aliases
- List/add/update/delete subdomains
- List database servers
- List/add/delete databases
- Add database users
- Further functionality can be seen in the examples folder
- Email  with requests for exposing further functionality

Requirements
------------

[](#requirements)

This library package requires PHP 5.4 or later and Plesk 12.0 or above.

Usage
-----

[](#usage)

The following example shows how to retrieve the list of websites available for the supplied user.

```
$config = array(
    'host'=>'example.com',
    'username'=>'username',
    'password'=>'password',
);

$request = new \pmill\Plesk\ListClients($config);
$info = $request->process();

```

Further examples are available in the examples directory.

Version History
---------------

[](#version-history)

Unversioned (13 Apr 2013)

- First public release of php-plesk.

0.1.0 (08/10/2014)

- Updated Create Email Address xml payload for newer versions of the Plesk API
- Exposed further functionality

0.2.0 (09/10/2014)

- Added support for composer installs
- Updated code for psr-0 autoloading
- Updated code for psr-1 basic coding standard
- Updated code for psr-2 coding style guide

0.3.0 (16/10/2014)

- Added functionality for ip addresses, service plans, clients, subscriptions and server information
- Added test script
- Updated classes to throw exceptions when requests fail
- Sorted examples folder into areas of functionality

0.4.0 (05/02/2015)

- Added functionality for databases
- Updated test script

0.5.0 (08/03/2016)

- Added secret key functionality
- Updated error handling to expose Plesk error code
- Added html entity escaping

0.5.1 (05/04/2016)

- Added mail preferences functionality
- Added wordpress functionality
- Added APS functionality
- Added ssl certificate functionality

0.5.2 (18/05/2016)

- Updated ListSubscriptions to retrieve plan guids
- Updated GetServicePlan to accept 'guid' as a filter option
- Updated DeleteSiteAlias to accept 'alias' as a filter option

0.5.3 (24/05/2016)

- Code quality improvements
- Updated ListSubscriptions to retrieve subscription status

0.5.4 (13/06/2016)

- Added GetSubscription functionality (thanks [ghermans](https://github.com/ghermans))

0.5.5 (15/08/2016)

- Added GetTraffic functionality (thanks [texh](https://github.com/texh))
- Added ListDNS functionality (thanks [carlswart](https://github.com/carlswart))

0.5.6 (01/09/2016)

- Error handling bug fix
- Exposed service plan guid property (thanks [ghermans](https://github.com/ghermans))

Copyright and License
---------------------

[](#copyright-and-license)

php-plesk Copyright (c) 2013 pmill () All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

This software is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

12

Last Release

4237d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae0f7f1f69309bec448ac224b62d1eb8d0dd6e9477097d4a502cd0f78913042e?d=identicon)[macromindonline](/maintainers/macromindonline)

---

Top Contributors

[![pmill](https://avatars.githubusercontent.com/u/3912365?v=4)](https://github.com/pmill "pmill (85 commits)")[![ghermans](https://avatars.githubusercontent.com/u/1594411?v=4)](https://github.com/ghermans "ghermans (9 commits)")[![carlswart](https://avatars.githubusercontent.com/u/7113080?v=4)](https://github.com/carlswart "carlswart (2 commits)")

---

Tags

phpapiplesk

### Embed Badge

![Health badge](/badges/macromindonline-php-plesk/health.svg)

```
[![Health](https://phpackages.com/badges/macromindonline-php-plesk/health.svg)](https://phpackages.com/packages/macromindonline-php-plesk)
```

###  Alternatives

[jstolpe/instagram-graph-api-php-sdk

Instagram Graph API PHP SDK

13998.4k2](/packages/jstolpe-instagram-graph-api-php-sdk)[pmill/php-plesk

PHP client for the Plesk RPC API

395.7k](/packages/pmill-php-plesk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
