Plugins

How the ScalPanel plugin catalog works and how to publish a WordPress plugin, theme or site template in it.

ScalPanel installations offer plugins from one catalog, signed by the ScalPanel team. Providers choose which plugins their customers see; customers install them on their websites with one click. This page is for companies and developers who want their plugin in the catalog.

How plugins work

  • Files only. A plugin is a package of files that ScalPanel copies into a website. Nothing runs on the server when it is installed. ScalPanel does not offer plugins that run inside the panel itself.
  • One signed catalog. Installations read the catalog from the ScalPanel release site every hour and trust only the ScalPanel release key. Each package is pinned by its SHA-256 and size, checked when it is downloaded and again when it is installed.
  • Two tabs. Featured shows ScalPanel's own plugins. All plugins also shows those of approved publishers.
  • Providers decide. In the admin panel, Plugins lets the provider offer or stop offering each plugin. Installations download only the packages they offer.
  • Customers install. In the hosting panel, Plugins lists the offered plugins, installs them on a website, shows when an update is available, and removes them. Installing needs the files.manage permission, and the account's disk quota applies.

What a plugin can be

KindWhere it goes
wordpress-pluginwp-content/plugins/<slug>/ of a WordPress installation
wordpress-themewp-content/themes/<slug>/
site-templateA new or empty folder of the website, or its root

The website's owner activates a WordPress plugin or theme in WordPress. ScalPanel does not activate it.

The package

One folder per plugin:

my-plugin/
  plugin.json        catalog entry
  my-plugin/         the files; this folder's name is the slug
    my-plugin.php
    ...

plugin.json:

{
  "id": "my-plugin",
  "name": "My Plugin",
  "summary": "One sentence, at most 200 characters.",
  "description": "A few paragraphs, plain text.",
  "publisher": {"id": "my-company", "name": "My Company", "url": "https://example.com", "official": false},
  "category": "security",
  "kind": "wordpress-plugin",
  "slug": "my-plugin",
  "version": "1.0.0",
  "license": "GPL-2.0-or-later",
  "homepage": "https://example.com/my-plugin"
}

Rules:

  • id and slug: lowercase letters, digits and dashes.
  • category: security, performance, seo, content, ecommerce, developer, template or other.
  • Links: https:// only.
  • Texts: plain text. They are shown as published, in English, and never rendered as HTML.
  • Size: at most 32 MiB.
  • Contents: exactly the slug folder, with no hidden files and no links.
  • Versions: every new release gets a new version number.

Review

Send the folder, or a Git link with a tag, to the ScalPanel team at [email protected]. Before signing, the team checks that:

  • the license allows redistribution;
  • there is no obfuscated or minified PHP without its source;
  • the code loads no remote code: no eval of downloaded data, no self-updater that bypasses the catalog;
  • input is escaped and checked, and WordPress admin actions use nonces and capability checks;
  • no data goes to third parties without the website owner's consent, and the description says so when it does.

Approved packages are published with the next catalog. Installations see them within hours, without a ScalPanel update.

Updates and removal

  • Updates: a new version replaces the catalog entry. Customers see that an update is available and update with one click. The old folder is replaced.
  • Withdrawal: when a plugin leaves the catalog, installations stop offering it. Websites keep the copies they already installed.