Prerequisite
To start building Plesk extensions, you need a server with Plesk
installed. If you don’t have one, install it following the steps
here.
Step 1: Create and Install Extension
Plesk extension is a ZIP archive which contains a specifically organized
directory structure and a file with meta information describing the
software.
Note: If you would like to examine the structure of a dummy extension,
check out our “Hello world” sample extension
here.
A quick way to create an extension is to call the extension
command-line utility (learn more about it
here):
plesk bin extension --create hello-world
This call will create the necessary file structure on your Plesk server.
All paths are shown after the utility finishes executing:
The extension was successfully created.
The path to extension's entry points: /usr/local/psa/admin/htdocs/modules/hello-world/
The path to PHP classes: /usr/local/<span class="…