Repository files navigation

PlugPress SDK

Drop-in SDK for WordPress plugins. Provides self-hosted updates (stable + beta channels), license activation, telemetry opt-in, deactivation feedback, and a React Hub (About + License pages) backed by a REST API.

composer require plugpressco/plugpress-sdk

Components

Config keyClassWhat it does
PlugPress_ConfigTyped, sanitized config every component consumes
updaterPlugPress_UpdaterChecks updates.plugpress.co for new versions (stable or beta channel)
updaterPlugPress_BetaPer-site beta-channel switch (Beta Hub)
pro + updaterPlugPress_LicenseLicense key activation / validation (key never leaves PHP; APIs return a masked form)
optinPlugPress_OptinGDPR-compliant telemetry opt-in (WP Guideline 7)
feedbackPlugPress_FeedbackDeactivation reason modal on plugins.php
PlugPress_ActivationActivation timestamp + optional first-run redirect
PlugPress_APIREST API (plugpress/v1/{slug}/…) behind the Hub — API-first
about / menu_parentPlugPress_AboutReact Hub admin pages (About + License)
PlugPress_ProductsCross-sell catalogue with resolved install state
PlugPress_NoticesShared flash + persistent admin notices

Every component is individually toggleable — disable what your distribution channel restricts.


Beta Hub

Each product can opt a site into its beta channel from the Hub (or via POST /plugpress/v1/{slug}/beta). When on, update checks send channel=beta; the update server serves the manifest's beta block when its version is newer than stable — with the exact same license gate and signed download token. Turning beta off (or shipping a stable ≥ the beta) returns the site to stable automatically.

Manifest side (on the updates worker):

{
"version": "1.2.0",
"beta": { "version": "1.3.0-beta.1" }
}

Upload the zip as plugpress/<slug>/<slug>-1.3.0-beta.1.zip — same naming as stable.


REST API (API-first Hub)

Everything the Hub shows or changes goes through plugpress/v1 (cookie + nonce auth, capability required):

RouteWhat
GET /{slug}/hubFull Hub payload: version, license (masked), beta, opt-in state, products
POST /{slug}/license{ action: "activate"|"deactivate", key? }
POST /{slug}/beta{ enabled: bool }
POST /{slug}/optin{ decision: "allow"|"skip"|"later" }

Consumer plugins can link their own data into the Hub: filter plugpress_sdk_hub_payload (PHP) adds data to the payload; the plugpress.hubSections JS filter (via @wordpress/hooks) appends UI sections.

Building the Hub app

The built app (admin/build/) is committed — composer consumers never run npm. To change it:

npm install && npm run build # use nvm node (see plugpress standard Δ6)

Distribution channel configs

1. PlugPress direct (full SDK)

Plugins sold at plugpress.co / outbees.co / inbees.co — SDK owns everything.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'your-plugin',
'name' => 'Your Plugin',
'file' => __FILE__,
'version' => YOUR_PLUGIN_VERSION,
'server' => 'https://updates.plugpress.co',
'telemetry_server' => 'https://analytics.plugpress.co',
'activate_redirect' => admin_url( 'admin.php?page=your-plugin#/onboarding/welcome' ),
'pro' => false, // true for pro plugins// updater, optin, feedback all default to true'menu_parent' => 'your-plugin',
'accent' => '#4F46E5',
'about' => [
'tagline' => 'One-line description.',
'links' => [
'Documentation' => 'https://yourplugin.co/docs',
'Support' => 'https://yourplugin.co/support',
],
],
] );
} );

1b. Pro via Freemius (updates + licensing owned by Freemius)

Pro products sold through Freemius. One init call: the SDK boots the Freemius SDK (ship it in your plugin via composer require freemius/wordpress-sdk or a vendored freemius/ dir) and stands its own updater/license/opt-in/feedback down — Freemius owns all four. The Hub keeps the About page and shows a "Manage account" card linking to Freemius's account screen.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'saddle-pro',
'name' => 'Saddle Pro',
'file' => __FILE__,
'version' => SADDLE_PRO_VERSION,
'pro' => true,
'menu_parent' => 'saddle',
'freemius' => [
'id' => '12345', // Freemius product id'public_key' => 'pk_...',
// 'start' => __DIR__ . '/freemius/start.php', // optional explicit path// 'init' => [ 'has_addons' => true ], // fs_dynamic_init overrides
],
'about' => [ 'tagline' => '', 'links' => [ /* … */ ] ],
] );
} );

2. DiviPeople self-hosted (Freemius lite — no updater/license)

Plugins sold at divipeople.com that use Freemius lite for opt-in/feedback but NOT for updates. SDK adds About page + analytics.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divi-blog-pro',
'name' => 'Divi Blog Pro',
'file' => __FILE__,
'version' => DBP_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // Freemius handles updates + license'optin' => true,
'feedback' => true,
'menu_parent' => 'divi-people',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Beautiful blog layouts for Divi.',
'links' => [
'Documentation' => 'https://divipeople.com/docs/divi-blog-pro',
'Support' => 'https://divipeople.com/support',
],
],
] );
} );

3. Full Freemius SDK (Divi Torque Pro and similar)

Plugins that use the full Freemius SDK — Freemius already handles opt-in and feedback. SDK adds only the About page.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divitorque',
'name' => 'Divi Torque Pro',
'file' => __FILE__,
'version' => DTP_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // Freemius'optin' => false, // Freemius has its own opt-in'feedback' => false, // Freemius has its own feedback'menu_parent' => 'divitorque',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Powerful Divi modules to create exceptional websites.',
'links' => [
'Documentation' => 'https://divitorque.com/docs',
'Support' => 'https://divitorque.com/support',
'Changelog' => 'https://divitorque.com/changelog',
],
],
] );
} );

4. ET Marketplace version

Elegant Themes marketplace restricts all external HTTP calls. SDK adds only the About page — zero external calls.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divi-blog-pro',
'name' => 'Divi Blog Pro',
'file' => __FILE__,
'version' => DBP_VERSION,
'updater' => false, // ET handles'optin' => false, // no external calls on ET'feedback' => false, // no external calls on ET'menu_parent' => 'divi-people',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Beautiful blog layouts for Divi.',
'links' => [
'Documentation' => 'https://divipeople.com/docs',
'Support' => 'https://divipeople.com/support',
],
],
] );
} );

5. Free plugins (WordPress.org)

WP.org handles updates — no updater or license needed. Opt-in and feedback are allowed.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'your-free-plugin',
'name' => 'Your Free Plugin',
'file' => __FILE__,
'version' => YOUR_PLUGIN_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // WP.org handles updates'pro' => false,
'menu_parent' => 'your-free-plugin',
'accent' => '#4F46E5',
'about' => [
'tagline' => 'One-line description.',
'links' => [
'Documentation' => 'https://...',
'Support' => 'https://wordpress.org/support/plugin/your-free-plugin',
'Rate us' => 'https://wordpress.org/plugins/your-free-plugin/#reviews',
],
],
] );
} );

Toggle cheatsheet

Channelupdateroptinfeedback
PlugPress directtruetruetrue
DiviPeople (Freemius lite)falsetruetrue
Full Freemius SDKfalsefalsefalse
ET Marketplacefalsefalsefalse
WordPress.org freefalsetruetrue

Full config reference

PlugPress_SDK::init( [
// Required'slug' => '', // plugin text-domain slug'name' => '', // human-readable plugin name'file' => __FILE__, // path to main plugin file'version' => '1.0.0',
// Update server (only used when updater: true)'server' => 'https://updates.plugpress.co',
// Analytics endpoint (only used when optin: true, empty = disabled)'telemetry_server' => 'https://analytics.plugpress.co',
// Redirect to onboarding after first activation (only when optin: true)'activate_redirect' => '',
// Pro license gate (only when updater: true)'pro' => false,
// Component toggles'updater' => true, // self-hosted update checker + license + beta channel'optin' => true, // telemetry opt-in notice + weekly ping'feedback' => true, // deactivation feedback modal'optin_inline' => false, // true when YOUR admin app renders the opt-in card// (via get_optin_js_data()) — suppresses the PHP// notice on your top-level screen// Admin UI'menu_parent' => '', // parent menu slug for About/License pages'accent' => '#2395E7', // brand colour for buttons and highlights'textdomain' => '', // defaults to slug'capability' => 'manage_options',
// About page content'about' => [
'tagline' => '',
'links' => [], // [ 'Label' => 'https://...' ]
],
] );

Installation

composer require plugpressco/plugpress-sdk

Load the autoloader before calling PlugPress_SDK::init():

if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require_once__DIR__ . '/vendor/autoload.php';
}

Shipping tip: end-user sites don't run composer install, so commit the built vendor/ into your plugin's release zip, or run composer install --no-dev -o in your build step. The classes are class_exists-guarded so multiple PlugPress plugins each carrying their own copy won't collide.


Releasing updates

cd plugpress-sdk/
git commit -m "fix: ..."
git tag v1.2.2
git push && git push --tags
# Packagist auto-updates via GitHub webhook

Update in each plugin:

composer update plugpressco/plugpress-sdk
git add composer.lock && git commit -m "chore: bump plugpress-sdk to v1.2.2"

Versioning note (shared-SDK collision)

Classes are class_exists-guarded, so when several active plugins each bundle the SDK, the first-loaded copy wins — plugins must tolerate running against a slightly older SDK than they shipped. Keep the public surface backward-compatible within a major version. (ThemeIsle's SDK solves this with version-negotiated loading — the newest bundled copy wins; worth adopting here if the SDK's surface starts moving fast.)

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

Repository files navigation

PlugPress SDK

Drop-in SDK for WordPress plugins. Provides self-hosted updates (stable + beta channels), license activation, telemetry opt-in, deactivation feedback, and a React Hub (About + License pages) backed by a REST API.

composer require plugpressco/plugpress-sdk

Components

Config keyClassWhat it does
PlugPress_ConfigTyped, sanitized config every component consumes
updaterPlugPress_UpdaterChecks updates.plugpress.co for new versions (stable or beta channel)
updaterPlugPress_BetaPer-site beta-channel switch (Beta Hub)
pro + updaterPlugPress_LicenseLicense key activation / validation (key never leaves PHP; APIs return a masked form)
optinPlugPress_OptinGDPR-compliant telemetry opt-in (WP Guideline 7)
feedbackPlugPress_FeedbackDeactivation reason modal on plugins.php
PlugPress_ActivationActivation timestamp + optional first-run redirect
PlugPress_APIREST API (plugpress/v1/{slug}/…) behind the Hub — API-first
about / menu_parentPlugPress_AboutReact Hub admin pages (About + License)
PlugPress_ProductsCross-sell catalogue with resolved install state
PlugPress_NoticesShared flash + persistent admin notices

Every component is individually toggleable — disable what your distribution channel restricts.


Beta Hub

Each product can opt a site into its beta channel from the Hub (or via POST /plugpress/v1/{slug}/beta). When on, update checks send channel=beta; the update server serves the manifest's beta block when its version is newer than stable — with the exact same license gate and signed download token. Turning beta off (or shipping a stable ≥ the beta) returns the site to stable automatically.

Manifest side (on the updates worker):

{
"version": "1.2.0",
"beta": { "version": "1.3.0-beta.1" }
}

Upload the zip as plugpress/<slug>/<slug>-1.3.0-beta.1.zip — same naming as stable.


REST API (API-first Hub)

Everything the Hub shows or changes goes through plugpress/v1 (cookie + nonce auth, capability required):

RouteWhat
GET /{slug}/hubFull Hub payload: version, license (masked), beta, opt-in state, products
POST /{slug}/license{ action: "activate"|"deactivate", key? }
POST /{slug}/beta{ enabled: bool }
POST /{slug}/optin{ decision: "allow"|"skip"|"later" }

Consumer plugins can link their own data into the Hub: filter plugpress_sdk_hub_payload (PHP) adds data to the payload; the plugpress.hubSections JS filter (via @wordpress/hooks) appends UI sections.

Building the Hub app

The built app (admin/build/) is committed — composer consumers never run npm. To change it:

npm install && npm run build # use nvm node (see plugpress standard Δ6)

Distribution channel configs

1. PlugPress direct (full SDK)

Plugins sold at plugpress.co / outbees.co / inbees.co — SDK owns everything.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'your-plugin',
'name' => 'Your Plugin',
'file' => __FILE__,
'version' => YOUR_PLUGIN_VERSION,
'server' => 'https://updates.plugpress.co',
'telemetry_server' => 'https://analytics.plugpress.co',
'activate_redirect' => admin_url( 'admin.php?page=your-plugin#/onboarding/welcome' ),
'pro' => false, // true for pro plugins// updater, optin, feedback all default to true'menu_parent' => 'your-plugin',
'accent' => '#4F46E5',
'about' => [
'tagline' => 'One-line description.',
'links' => [
'Documentation' => 'https://yourplugin.co/docs',
'Support' => 'https://yourplugin.co/support',
],
],
] );
} );

1b. Pro via Freemius (updates + licensing owned by Freemius)

Pro products sold through Freemius. One init call: the SDK boots the Freemius SDK (ship it in your plugin via composer require freemius/wordpress-sdk or a vendored freemius/ dir) and stands its own updater/license/opt-in/feedback down — Freemius owns all four. The Hub keeps the About page and shows a "Manage account" card linking to Freemius's account screen.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'saddle-pro',
'name' => 'Saddle Pro',
'file' => __FILE__,
'version' => SADDLE_PRO_VERSION,
'pro' => true,
'menu_parent' => 'saddle',
'freemius' => [
'id' => '12345', // Freemius product id'public_key' => 'pk_...',
// 'start' => __DIR__ . '/freemius/start.php', // optional explicit path// 'init' => [ 'has_addons' => true ], // fs_dynamic_init overrides
],
'about' => [ 'tagline' => '', 'links' => [ /* … */ ] ],
] );
} );

2. DiviPeople self-hosted (Freemius lite — no updater/license)

Plugins sold at divipeople.com that use Freemius lite for opt-in/feedback but NOT for updates. SDK adds About page + analytics.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divi-blog-pro',
'name' => 'Divi Blog Pro',
'file' => __FILE__,
'version' => DBP_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // Freemius handles updates + license'optin' => true,
'feedback' => true,
'menu_parent' => 'divi-people',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Beautiful blog layouts for Divi.',
'links' => [
'Documentation' => 'https://divipeople.com/docs/divi-blog-pro',
'Support' => 'https://divipeople.com/support',
],
],
] );
} );

3. Full Freemius SDK (Divi Torque Pro and similar)

Plugins that use the full Freemius SDK — Freemius already handles opt-in and feedback. SDK adds only the About page.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divitorque',
'name' => 'Divi Torque Pro',
'file' => __FILE__,
'version' => DTP_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // Freemius'optin' => false, // Freemius has its own opt-in'feedback' => false, // Freemius has its own feedback'menu_parent' => 'divitorque',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Powerful Divi modules to create exceptional websites.',
'links' => [
'Documentation' => 'https://divitorque.com/docs',
'Support' => 'https://divitorque.com/support',
'Changelog' => 'https://divitorque.com/changelog',
],
],
] );
} );

4. ET Marketplace version

Elegant Themes marketplace restricts all external HTTP calls. SDK adds only the About page — zero external calls.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divi-blog-pro',
'name' => 'Divi Blog Pro',
'file' => __FILE__,
'version' => DBP_VERSION,
'updater' => false, // ET handles'optin' => false, // no external calls on ET'feedback' => false, // no external calls on ET'menu_parent' => 'divi-people',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Beautiful blog layouts for Divi.',
'links' => [
'Documentation' => 'https://divipeople.com/docs',
'Support' => 'https://divipeople.com/support',
],
],
] );
} );

5. Free plugins (WordPress.org)

WP.org handles updates — no updater or license needed. Opt-in and feedback are allowed.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'your-free-plugin',
'name' => 'Your Free Plugin',
'file' => __FILE__,
'version' => YOUR_PLUGIN_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // WP.org handles updates'pro' => false,
'menu_parent' => 'your-free-plugin',
'accent' => '#4F46E5',
'about' => [
'tagline' => 'One-line description.',
'links' => [
'Documentation' => 'https://...',
'Support' => 'https://wordpress.org/support/plugin/your-free-plugin',
'Rate us' => 'https://wordpress.org/plugins/your-free-plugin/#reviews',
],
],
] );
} );

Toggle cheatsheet

Channelupdateroptinfeedback
PlugPress directtruetruetrue
DiviPeople (Freemius lite)falsetruetrue
Full Freemius SDKfalsefalsefalse
ET Marketplacefalsefalsefalse
WordPress.org freefalsetruetrue

Full config reference

PlugPress_SDK::init( [
// Required'slug' => '', // plugin text-domain slug'name' => '', // human-readable plugin name'file' => __FILE__, // path to main plugin file'version' => '1.0.0',
// Update server (only used when updater: true)'server' => 'https://updates.plugpress.co',
// Analytics endpoint (only used when optin: true, empty = disabled)'telemetry_server' => 'https://analytics.plugpress.co',
// Redirect to onboarding after first activation (only when optin: true)'activate_redirect' => '',
// Pro license gate (only when updater: true)'pro' => false,
// Component toggles'updater' => true, // self-hosted update checker + license + beta channel'optin' => true, // telemetry opt-in notice + weekly ping'feedback' => true, // deactivation feedback modal'optin_inline' => false, // true when YOUR admin app renders the opt-in card// (via get_optin_js_data()) — suppresses the PHP// notice on your top-level screen// Admin UI'menu_parent' => '', // parent menu slug for About/License pages'accent' => '#2395E7', // brand colour for buttons and highlights'textdomain' => '', // defaults to slug'capability' => 'manage_options',
// About page content'about' => [
'tagline' => '',
'links' => [], // [ 'Label' => 'https://...' ]
],
] );

Installation

composer require plugpressco/plugpress-sdk

Load the autoloader before calling PlugPress_SDK::init():

if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require_once__DIR__ . '/vendor/autoload.php';
}

Shipping tip: end-user sites don't run composer install, so commit the built vendor/ into your plugin's release zip, or run composer install --no-dev -o in your build step. The classes are class_exists-guarded so multiple PlugPress plugins each carrying their own copy won't collide.


Releasing updates

cd plugpress-sdk/
git commit -m "fix: ..."
git tag v1.2.2
git push && git push --tags
# Packagist auto-updates via GitHub webhook

Update in each plugin:

composer update plugpressco/plugpress-sdk
git add composer.lock && git commit -m "chore: bump plugpress-sdk to v1.2.2"

Versioning note (shared-SDK collision)

Classes are class_exists-guarded, so when several active plugins each bundle the SDK, the first-loaded copy wins — plugins must tolerate running against a slightly older SDK than they shipped. Keep the public surface backward-compatible within a major version. (ThemeIsle's SDK solves this with version-negotiated loading — the newest bundled copy wins; worth adopting here if the SDK's surface starts moving fast.)

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Repository files navigation

PlugPress SDK

Drop-in SDK for WordPress plugins. Provides self-hosted updates (stable + beta channels), license activation, telemetry opt-in, deactivation feedback, and a React Hub (About + License pages) backed by a REST API.

composer require plugpressco/plugpress-sdk

Components

Config keyClassWhat it does
PlugPress_ConfigTyped, sanitized config every component consumes
updaterPlugPress_UpdaterChecks updates.plugpress.co for new versions (stable or beta channel)
updaterPlugPress_BetaPer-site beta-channel switch (Beta Hub)
pro + updaterPlugPress_LicenseLicense key activation / validation (key never leaves PHP; APIs return a masked form)
optinPlugPress_OptinGDPR-compliant telemetry opt-in (WP Guideline 7)
feedbackPlugPress_FeedbackDeactivation reason modal on plugins.php
PlugPress_ActivationActivation timestamp + optional first-run redirect
PlugPress_APIREST API (plugpress/v1/{slug}/…) behind the Hub — API-first
about / menu_parentPlugPress_AboutReact Hub admin pages (About + License)
PlugPress_ProductsCross-sell catalogue with resolved install state
PlugPress_NoticesShared flash + persistent admin notices

Every component is individually toggleable — disable what your distribution channel restricts.


Beta Hub

Each product can opt a site into its beta channel from the Hub (or via POST /plugpress/v1/{slug}/beta). When on, update checks send channel=beta; the update server serves the manifest's beta block when its version is newer than stable — with the exact same license gate and signed download token. Turning beta off (or shipping a stable ≥ the beta) returns the site to stable automatically.

Manifest side (on the updates worker):

{
"version": "1.2.0",
"beta": { "version": "1.3.0-beta.1" }
}

Upload the zip as plugpress/<slug>/<slug>-1.3.0-beta.1.zip — same naming as stable.


REST API (API-first Hub)

Everything the Hub shows or changes goes through plugpress/v1 (cookie + nonce auth, capability required):

RouteWhat
GET /{slug}/hubFull Hub payload: version, license (masked), beta, opt-in state, products
POST /{slug}/license{ action: "activate"|"deactivate", key? }
POST /{slug}/beta{ enabled: bool }
POST /{slug}/optin{ decision: "allow"|"skip"|"later" }

Consumer plugins can link their own data into the Hub: filter plugpress_sdk_hub_payload (PHP) adds data to the payload; the plugpress.hubSections JS filter (via @wordpress/hooks) appends UI sections.

Building the Hub app

The built app (admin/build/) is committed — composer consumers never run npm. To change it:

npm install && npm run build # use nvm node (see plugpress standard Δ6)

Distribution channel configs

1. PlugPress direct (full SDK)

Plugins sold at plugpress.co / outbees.co / inbees.co — SDK owns everything.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'your-plugin',
'name' => 'Your Plugin',
'file' => __FILE__,
'version' => YOUR_PLUGIN_VERSION,
'server' => 'https://updates.plugpress.co',
'telemetry_server' => 'https://analytics.plugpress.co',
'activate_redirect' => admin_url( 'admin.php?page=your-plugin#/onboarding/welcome' ),
'pro' => false, // true for pro plugins// updater, optin, feedback all default to true'menu_parent' => 'your-plugin',
'accent' => '#4F46E5',
'about' => [
'tagline' => 'One-line description.',
'links' => [
'Documentation' => 'https://yourplugin.co/docs',
'Support' => 'https://yourplugin.co/support',
],
],
] );
} );

1b. Pro via Freemius (updates + licensing owned by Freemius)

Pro products sold through Freemius. One init call: the SDK boots the Freemius SDK (ship it in your plugin via composer require freemius/wordpress-sdk or a vendored freemius/ dir) and stands its own updater/license/opt-in/feedback down — Freemius owns all four. The Hub keeps the About page and shows a "Manage account" card linking to Freemius's account screen.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'saddle-pro',
'name' => 'Saddle Pro',
'file' => __FILE__,
'version' => SADDLE_PRO_VERSION,
'pro' => true,
'menu_parent' => 'saddle',
'freemius' => [
'id' => '12345', // Freemius product id'public_key' => 'pk_...',
// 'start' => __DIR__ . '/freemius/start.php', // optional explicit path// 'init' => [ 'has_addons' => true ], // fs_dynamic_init overrides
],
'about' => [ 'tagline' => '', 'links' => [ /* … */ ] ],
] );
} );

2. DiviPeople self-hosted (Freemius lite — no updater/license)

Plugins sold at divipeople.com that use Freemius lite for opt-in/feedback but NOT for updates. SDK adds About page + analytics.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divi-blog-pro',
'name' => 'Divi Blog Pro',
'file' => __FILE__,
'version' => DBP_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // Freemius handles updates + license'optin' => true,
'feedback' => true,
'menu_parent' => 'divi-people',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Beautiful blog layouts for Divi.',
'links' => [
'Documentation' => 'https://divipeople.com/docs/divi-blog-pro',
'Support' => 'https://divipeople.com/support',
],
],
] );
} );

3. Full Freemius SDK (Divi Torque Pro and similar)

Plugins that use the full Freemius SDK — Freemius already handles opt-in and feedback. SDK adds only the About page.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divitorque',
'name' => 'Divi Torque Pro',
'file' => __FILE__,
'version' => DTP_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // Freemius'optin' => false, // Freemius has its own opt-in'feedback' => false, // Freemius has its own feedback'menu_parent' => 'divitorque',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Powerful Divi modules to create exceptional websites.',
'links' => [
'Documentation' => 'https://divitorque.com/docs',
'Support' => 'https://divitorque.com/support',
'Changelog' => 'https://divitorque.com/changelog',
],
],
] );
} );

4. ET Marketplace version

Elegant Themes marketplace restricts all external HTTP calls. SDK adds only the About page — zero external calls.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divi-blog-pro',
'name' => 'Divi Blog Pro',
'file' => __FILE__,
'version' => DBP_VERSION,
'updater' => false, // ET handles'optin' => false, // no external calls on ET'feedback' => false, // no external calls on ET'menu_parent' => 'divi-people',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Beautiful blog layouts for Divi.',
'links' => [
'Documentation' => 'https://divipeople.com/docs',
'Support' => 'https://divipeople.com/support',
],
],
] );
} );

5. Free plugins (WordPress.org)

WP.org handles updates — no updater or license needed. Opt-in and feedback are allowed.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'your-free-plugin',
'name' => 'Your Free Plugin',
'file' => __FILE__,
'version' => YOUR_PLUGIN_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // WP.org handles updates'pro' => false,
'menu_parent' => 'your-free-plugin',
'accent' => '#4F46E5',
'about' => [
'tagline' => 'One-line description.',
'links' => [
'Documentation' => 'https://...',
'Support' => 'https://wordpress.org/support/plugin/your-free-plugin',
'Rate us' => 'https://wordpress.org/plugins/your-free-plugin/#reviews',
],
],
] );
} );

Toggle cheatsheet

Channelupdateroptinfeedback
PlugPress directtruetruetrue
DiviPeople (Freemius lite)falsetruetrue
Full Freemius SDKfalsefalsefalse
ET Marketplacefalsefalsefalse
WordPress.org freefalsetruetrue

Full config reference

PlugPress_SDK::init( [
// Required'slug' => '', // plugin text-domain slug'name' => '', // human-readable plugin name'file' => __FILE__, // path to main plugin file'version' => '1.0.0',
// Update server (only used when updater: true)'server' => 'https://updates.plugpress.co',
// Analytics endpoint (only used when optin: true, empty = disabled)'telemetry_server' => 'https://analytics.plugpress.co',
// Redirect to onboarding after first activation (only when optin: true)'activate_redirect' => '',
// Pro license gate (only when updater: true)'pro' => false,
// Component toggles'updater' => true, // self-hosted update checker + license + beta channel'optin' => true, // telemetry opt-in notice + weekly ping'feedback' => true, // deactivation feedback modal'optin_inline' => false, // true when YOUR admin app renders the opt-in card// (via get_optin_js_data()) — suppresses the PHP// notice on your top-level screen// Admin UI'menu_parent' => '', // parent menu slug for About/License pages'accent' => '#2395E7', // brand colour for buttons and highlights'textdomain' => '', // defaults to slug'capability' => 'manage_options',
// About page content'about' => [
'tagline' => '',
'links' => [], // [ 'Label' => 'https://...' ]
],
] );

Installation

composer require plugpressco/plugpress-sdk

Load the autoloader before calling PlugPress_SDK::init():

if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require_once__DIR__ . '/vendor/autoload.php';
}

Shipping tip: end-user sites don't run composer install, so commit the built vendor/ into your plugin's release zip, or run composer install --no-dev -o in your build step. The classes are class_exists-guarded so multiple PlugPress plugins each carrying their own copy won't collide.


Releasing updates

cd plugpress-sdk/
git commit -m "fix: ..."
git tag v1.2.2
git push && git push --tags
# Packagist auto-updates via GitHub webhook

Update in each plugin:

composer update plugpressco/plugpress-sdk
git add composer.lock && git commit -m "chore: bump plugpress-sdk to v1.2.2"

Versioning note (shared-SDK collision)

Classes are class_exists-guarded, so when several active plugins each bundle the SDK, the first-loaded copy wins — plugins must tolerate running against a slightly older SDK than they shipped. Keep the public surface backward-compatible within a major version. (ThemeIsle's SDK solves this with version-negotiated loading — the newest bundled copy wins; worth adopting here if the SDK's surface starts moving fast.)

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Repository files navigation

PlugPress SDK

Drop-in SDK for WordPress plugins. Provides self-hosted updates (stable + beta channels), license activation, telemetry opt-in, deactivation feedback, and a React Hub (About + License pages) backed by a REST API.

composer require plugpressco/plugpress-sdk

Components

Config keyClassWhat it does
PlugPress_ConfigTyped, sanitized config every component consumes
updaterPlugPress_UpdaterChecks updates.plugpress.co for new versions (stable or beta channel)
updaterPlugPress_BetaPer-site beta-channel switch (Beta Hub)
pro + updaterPlugPress_LicenseLicense key activation / validation (key never leaves PHP; APIs return a masked form)
optinPlugPress_OptinGDPR-compliant telemetry opt-in (WP Guideline 7)
feedbackPlugPress_FeedbackDeactivation reason modal on plugins.php
PlugPress_ActivationActivation timestamp + optional first-run redirect
PlugPress_APIREST API (plugpress/v1/{slug}/…) behind the Hub — API-first
about / menu_parentPlugPress_AboutReact Hub admin pages (About + License)
PlugPress_ProductsCross-sell catalogue with resolved install state
PlugPress_NoticesShared flash + persistent admin notices

Every component is individually toggleable — disable what your distribution channel restricts.


Beta Hub

Each product can opt a site into its beta channel from the Hub (or via POST /plugpress/v1/{slug}/beta). When on, update checks send channel=beta; the update server serves the manifest's beta block when its version is newer than stable — with the exact same license gate and signed download token. Turning beta off (or shipping a stable ≥ the beta) returns the site to stable automatically.

Manifest side (on the updates worker):

{
"version": "1.2.0",
"beta": { "version": "1.3.0-beta.1" }
}

Upload the zip as plugpress/<slug>/<slug>-1.3.0-beta.1.zip — same naming as stable.


REST API (API-first Hub)

Everything the Hub shows or changes goes through plugpress/v1 (cookie + nonce auth, capability required):

RouteWhat
GET /{slug}/hubFull Hub payload: version, license (masked), beta, opt-in state, products
POST /{slug}/license{ action: "activate"|"deactivate", key? }
POST /{slug}/beta{ enabled: bool }
POST /{slug}/optin{ decision: "allow"|"skip"|"later" }

Consumer plugins can link their own data into the Hub: filter plugpress_sdk_hub_payload (PHP) adds data to the payload; the plugpress.hubSections JS filter (via @wordpress/hooks) appends UI sections.

Building the Hub app

The built app (admin/build/) is committed — composer consumers never run npm. To change it:

npm install && npm run build # use nvm node (see plugpress standard Δ6)

Distribution channel configs

1. PlugPress direct (full SDK)

Plugins sold at plugpress.co / outbees.co / inbees.co — SDK owns everything.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'your-plugin',
'name' => 'Your Plugin',
'file' => __FILE__,
'version' => YOUR_PLUGIN_VERSION,
'server' => 'https://updates.plugpress.co',
'telemetry_server' => 'https://analytics.plugpress.co',
'activate_redirect' => admin_url( 'admin.php?page=your-plugin#/onboarding/welcome' ),
'pro' => false, // true for pro plugins// updater, optin, feedback all default to true'menu_parent' => 'your-plugin',
'accent' => '#4F46E5',
'about' => [
'tagline' => 'One-line description.',
'links' => [
'Documentation' => 'https://yourplugin.co/docs',
'Support' => 'https://yourplugin.co/support',
],
],
] );
} );

1b. Pro via Freemius (updates + licensing owned by Freemius)

Pro products sold through Freemius. One init call: the SDK boots the Freemius SDK (ship it in your plugin via composer require freemius/wordpress-sdk or a vendored freemius/ dir) and stands its own updater/license/opt-in/feedback down — Freemius owns all four. The Hub keeps the About page and shows a "Manage account" card linking to Freemius's account screen.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'saddle-pro',
'name' => 'Saddle Pro',
'file' => __FILE__,
'version' => SADDLE_PRO_VERSION,
'pro' => true,
'menu_parent' => 'saddle',
'freemius' => [
'id' => '12345', // Freemius product id'public_key' => 'pk_...',
// 'start' => __DIR__ . '/freemius/start.php', // optional explicit path// 'init' => [ 'has_addons' => true ], // fs_dynamic_init overrides
],
'about' => [ 'tagline' => '', 'links' => [ /* … */ ] ],
] );
} );

2. DiviPeople self-hosted (Freemius lite — no updater/license)

Plugins sold at divipeople.com that use Freemius lite for opt-in/feedback but NOT for updates. SDK adds About page + analytics.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divi-blog-pro',
'name' => 'Divi Blog Pro',
'file' => __FILE__,
'version' => DBP_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // Freemius handles updates + license'optin' => true,
'feedback' => true,
'menu_parent' => 'divi-people',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Beautiful blog layouts for Divi.',
'links' => [
'Documentation' => 'https://divipeople.com/docs/divi-blog-pro',
'Support' => 'https://divipeople.com/support',
],
],
] );
} );

3. Full Freemius SDK (Divi Torque Pro and similar)

Plugins that use the full Freemius SDK — Freemius already handles opt-in and feedback. SDK adds only the About page.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divitorque',
'name' => 'Divi Torque Pro',
'file' => __FILE__,
'version' => DTP_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // Freemius'optin' => false, // Freemius has its own opt-in'feedback' => false, // Freemius has its own feedback'menu_parent' => 'divitorque',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Powerful Divi modules to create exceptional websites.',
'links' => [
'Documentation' => 'https://divitorque.com/docs',
'Support' => 'https://divitorque.com/support',
'Changelog' => 'https://divitorque.com/changelog',
],
],
] );
} );

4. ET Marketplace version

Elegant Themes marketplace restricts all external HTTP calls. SDK adds only the About page — zero external calls.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divi-blog-pro',
'name' => 'Divi Blog Pro',
'file' => __FILE__,
'version' => DBP_VERSION,
'updater' => false, // ET handles'optin' => false, // no external calls on ET'feedback' => false, // no external calls on ET'menu_parent' => 'divi-people',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Beautiful blog layouts for Divi.',
'links' => [
'Documentation' => 'https://divipeople.com/docs',
'Support' => 'https://divipeople.com/support',
],
],
] );
} );

5. Free plugins (WordPress.org)

WP.org handles updates — no updater or license needed. Opt-in and feedback are allowed.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'your-free-plugin',
'name' => 'Your Free Plugin',
'file' => __FILE__,
'version' => YOUR_PLUGIN_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // WP.org handles updates'pro' => false,
'menu_parent' => 'your-free-plugin',
'accent' => '#4F46E5',
'about' => [
'tagline' => 'One-line description.',
'links' => [
'Documentation' => 'https://...',
'Support' => 'https://wordpress.org/support/plugin/your-free-plugin',
'Rate us' => 'https://wordpress.org/plugins/your-free-plugin/#reviews',
],
],
] );
} );

Toggle cheatsheet

Channelupdateroptinfeedback
PlugPress directtruetruetrue
DiviPeople (Freemius lite)falsetruetrue
Full Freemius SDKfalsefalsefalse
ET Marketplacefalsefalsefalse
WordPress.org freefalsetruetrue

Full config reference

PlugPress_SDK::init( [
// Required'slug' => '', // plugin text-domain slug'name' => '', // human-readable plugin name'file' => __FILE__, // path to main plugin file'version' => '1.0.0',
// Update server (only used when updater: true)'server' => 'https://updates.plugpress.co',
// Analytics endpoint (only used when optin: true, empty = disabled)'telemetry_server' => 'https://analytics.plugpress.co',
// Redirect to onboarding after first activation (only when optin: true)'activate_redirect' => '',
// Pro license gate (only when updater: true)'pro' => false,
// Component toggles'updater' => true, // self-hosted update checker + license + beta channel'optin' => true, // telemetry opt-in notice + weekly ping'feedback' => true, // deactivation feedback modal'optin_inline' => false, // true when YOUR admin app renders the opt-in card// (via get_optin_js_data()) — suppresses the PHP// notice on your top-level screen// Admin UI'menu_parent' => '', // parent menu slug for About/License pages'accent' => '#2395E7', // brand colour for buttons and highlights'textdomain' => '', // defaults to slug'capability' => 'manage_options',
// About page content'about' => [
'tagline' => '',
'links' => [], // [ 'Label' => 'https://...' ]
],
] );

Installation

composer require plugpressco/plugpress-sdk

Load the autoloader before calling PlugPress_SDK::init():

if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require_once__DIR__ . '/vendor/autoload.php';
}

Shipping tip: end-user sites don't run composer install, so commit the built vendor/ into your plugin's release zip, or run composer install --no-dev -o in your build step. The classes are class_exists-guarded so multiple PlugPress plugins each carrying their own copy won't collide.


Releasing updates

cd plugpress-sdk/
git commit -m "fix: ..."
git tag v1.2.2
git push && git push --tags
# Packagist auto-updates via GitHub webhook

Update in each plugin:

composer update plugpressco/plugpress-sdk
git add composer.lock && git commit -m "chore: bump plugpress-sdk to v1.2.2"

Versioning note (shared-SDK collision)

Classes are class_exists-guarded, so when several active plugins each bundle the SDK, the first-loaded copy wins — plugins must tolerate running against a slightly older SDK than they shipped. Keep the public surface backward-compatible within a major version. (ThemeIsle's SDK solves this with version-negotiated loading — the newest bundled copy wins; worth adopting here if the SDK's surface starts moving fast.)

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

Repository files navigation

PlugPress SDK

Drop-in SDK for WordPress plugins. Provides self-hosted updates (stable + beta channels), license activation, telemetry opt-in, deactivation feedback, and a React Hub (About + License pages) backed by a REST API.

composer require plugpressco/plugpress-sdk

Components

Config keyClassWhat it does
PlugPress_ConfigTyped, sanitized config every component consumes
updaterPlugPress_UpdaterChecks updates.plugpress.co for new versions (stable or beta channel)
updaterPlugPress_BetaPer-site beta-channel switch (Beta Hub)
pro + updaterPlugPress_LicenseLicense key activation / validation (key never leaves PHP; APIs return a masked form)
optinPlugPress_OptinGDPR-compliant telemetry opt-in (WP Guideline 7)
feedbackPlugPress_FeedbackDeactivation reason modal on plugins.php
PlugPress_ActivationActivation timestamp + optional first-run redirect
PlugPress_APIREST API (plugpress/v1/{slug}/…) behind the Hub — API-first
about / menu_parentPlugPress_AboutReact Hub admin pages (About + License)
PlugPress_ProductsCross-sell catalogue with resolved install state
PlugPress_NoticesShared flash + persistent admin notices

Every component is individually toggleable — disable what your distribution channel restricts.


Beta Hub

Each product can opt a site into its beta channel from the Hub (or via POST /plugpress/v1/{slug}/beta). When on, update checks send channel=beta; the update server serves the manifest's beta block when its version is newer than stable — with the exact same license gate and signed download token. Turning beta off (or shipping a stable ≥ the beta) returns the site to stable automatically.

Manifest side (on the updates worker):

{
"version": "1.2.0",
"beta": { "version": "1.3.0-beta.1" }
}

Upload the zip as plugpress/<slug>/<slug>-1.3.0-beta.1.zip — same naming as stable.


REST API (API-first Hub)

Everything the Hub shows or changes goes through plugpress/v1 (cookie + nonce auth, capability required):

RouteWhat
GET /{slug}/hubFull Hub payload: version, license (masked), beta, opt-in state, products
POST /{slug}/license{ action: "activate"|"deactivate", key? }
POST /{slug}/beta{ enabled: bool }
POST /{slug}/optin{ decision: "allow"|"skip"|"later" }

Consumer plugins can link their own data into the Hub: filter plugpress_sdk_hub_payload (PHP) adds data to the payload; the plugpress.hubSections JS filter (via @wordpress/hooks) appends UI sections.

Building the Hub app

The built app (admin/build/) is committed — composer consumers never run npm. To change it:

npm install && npm run build # use nvm node (see plugpress standard Δ6)

Distribution channel configs

1. PlugPress direct (full SDK)

Plugins sold at plugpress.co / outbees.co / inbees.co — SDK owns everything.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'your-plugin',
'name' => 'Your Plugin',
'file' => __FILE__,
'version' => YOUR_PLUGIN_VERSION,
'server' => 'https://updates.plugpress.co',
'telemetry_server' => 'https://analytics.plugpress.co',
'activate_redirect' => admin_url( 'admin.php?page=your-plugin#/onboarding/welcome' ),
'pro' => false, // true for pro plugins// updater, optin, feedback all default to true'menu_parent' => 'your-plugin',
'accent' => '#4F46E5',
'about' => [
'tagline' => 'One-line description.',
'links' => [
'Documentation' => 'https://yourplugin.co/docs',
'Support' => 'https://yourplugin.co/support',
],
],
] );
} );

1b. Pro via Freemius (updates + licensing owned by Freemius)

Pro products sold through Freemius. One init call: the SDK boots the Freemius SDK (ship it in your plugin via composer require freemius/wordpress-sdk or a vendored freemius/ dir) and stands its own updater/license/opt-in/feedback down — Freemius owns all four. The Hub keeps the About page and shows a "Manage account" card linking to Freemius's account screen.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'saddle-pro',
'name' => 'Saddle Pro',
'file' => __FILE__,
'version' => SADDLE_PRO_VERSION,
'pro' => true,
'menu_parent' => 'saddle',
'freemius' => [
'id' => '12345', // Freemius product id'public_key' => 'pk_...',
// 'start' => __DIR__ . '/freemius/start.php', // optional explicit path// 'init' => [ 'has_addons' => true ], // fs_dynamic_init overrides
],
'about' => [ 'tagline' => '', 'links' => [ /* … */ ] ],
] );
} );

2. DiviPeople self-hosted (Freemius lite — no updater/license)

Plugins sold at divipeople.com that use Freemius lite for opt-in/feedback but NOT for updates. SDK adds About page + analytics.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divi-blog-pro',
'name' => 'Divi Blog Pro',
'file' => __FILE__,
'version' => DBP_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // Freemius handles updates + license'optin' => true,
'feedback' => true,
'menu_parent' => 'divi-people',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Beautiful blog layouts for Divi.',
'links' => [
'Documentation' => 'https://divipeople.com/docs/divi-blog-pro',
'Support' => 'https://divipeople.com/support',
],
],
] );
} );

3. Full Freemius SDK (Divi Torque Pro and similar)

Plugins that use the full Freemius SDK — Freemius already handles opt-in and feedback. SDK adds only the About page.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divitorque',
'name' => 'Divi Torque Pro',
'file' => __FILE__,
'version' => DTP_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // Freemius'optin' => false, // Freemius has its own opt-in'feedback' => false, // Freemius has its own feedback'menu_parent' => 'divitorque',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Powerful Divi modules to create exceptional websites.',
'links' => [
'Documentation' => 'https://divitorque.com/docs',
'Support' => 'https://divitorque.com/support',
'Changelog' => 'https://divitorque.com/changelog',
],
],
] );
} );

4. ET Marketplace version

Elegant Themes marketplace restricts all external HTTP calls. SDK adds only the About page — zero external calls.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divi-blog-pro',
'name' => 'Divi Blog Pro',
'file' => __FILE__,
'version' => DBP_VERSION,
'updater' => false, // ET handles'optin' => false, // no external calls on ET'feedback' => false, // no external calls on ET'menu_parent' => 'divi-people',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Beautiful blog layouts for Divi.',
'links' => [
'Documentation' => 'https://divipeople.com/docs',
'Support' => 'https://divipeople.com/support',
],
],
] );
} );

5. Free plugins (WordPress.org)

WP.org handles updates — no updater or license needed. Opt-in and feedback are allowed.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'your-free-plugin',
'name' => 'Your Free Plugin',
'file' => __FILE__,
'version' => YOUR_PLUGIN_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // WP.org handles updates'pro' => false,
'menu_parent' => 'your-free-plugin',
'accent' => '#4F46E5',
'about' => [
'tagline' => 'One-line description.',
'links' => [
'Documentation' => 'https://...',
'Support' => 'https://wordpress.org/support/plugin/your-free-plugin',
'Rate us' => 'https://wordpress.org/plugins/your-free-plugin/#reviews',
],
],
] );
} );

Toggle cheatsheet

Channelupdateroptinfeedback
PlugPress directtruetruetrue
DiviPeople (Freemius lite)falsetruetrue
Full Freemius SDKfalsefalsefalse
ET Marketplacefalsefalsefalse
WordPress.org freefalsetruetrue

Full config reference

PlugPress_SDK::init( [
// Required'slug' => '', // plugin text-domain slug'name' => '', // human-readable plugin name'file' => __FILE__, // path to main plugin file'version' => '1.0.0',
// Update server (only used when updater: true)'server' => 'https://updates.plugpress.co',
// Analytics endpoint (only used when optin: true, empty = disabled)'telemetry_server' => 'https://analytics.plugpress.co',
// Redirect to onboarding after first activation (only when optin: true)'activate_redirect' => '',
// Pro license gate (only when updater: true)'pro' => false,
// Component toggles'updater' => true, // self-hosted update checker + license + beta channel'optin' => true, // telemetry opt-in notice + weekly ping'feedback' => true, // deactivation feedback modal'optin_inline' => false, // true when YOUR admin app renders the opt-in card// (via get_optin_js_data()) — suppresses the PHP// notice on your top-level screen// Admin UI'menu_parent' => '', // parent menu slug for About/License pages'accent' => '#2395E7', // brand colour for buttons and highlights'textdomain' => '', // defaults to slug'capability' => 'manage_options',
// About page content'about' => [
'tagline' => '',
'links' => [], // [ 'Label' => 'https://...' ]
],
] );

Installation

composer require plugpressco/plugpress-sdk

Load the autoloader before calling PlugPress_SDK::init():

if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require_once__DIR__ . '/vendor/autoload.php';
}

Shipping tip: end-user sites don't run composer install, so commit the built vendor/ into your plugin's release zip, or run composer install --no-dev -o in your build step. The classes are class_exists-guarded so multiple PlugPress plugins each carrying their own copy won't collide.


Releasing updates

cd plugpress-sdk/
git commit -m "fix: ..."
git tag v1.2.2
git push && git push --tags
# Packagist auto-updates via GitHub webhook

Update in each plugin:

composer update plugpressco/plugpress-sdk
git add composer.lock && git commit -m "chore: bump plugpress-sdk to v1.2.2"

Versioning note (shared-SDK collision)

Classes are class_exists-guarded, so when several active plugins each bundle the SDK, the first-loaded copy wins — plugins must tolerate running against a slightly older SDK than they shipped. Keep the public surface backward-compatible within a major version. (ThemeIsle's SDK solves this with version-negotiated loading — the newest bundled copy wins; worth adopting here if the SDK's surface starts moving fast.)

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Repository files navigation

PlugPress SDK

Drop-in SDK for WordPress plugins. Provides self-hosted updates (stable + beta channels), license activation, telemetry opt-in, deactivation feedback, and a React Hub (About + License pages) backed by a REST API.

composer require plugpressco/plugpress-sdk

Components

Config keyClassWhat it does
PlugPress_ConfigTyped, sanitized config every component consumes
updaterPlugPress_UpdaterChecks updates.plugpress.co for new versions (stable or beta channel)
updaterPlugPress_BetaPer-site beta-channel switch (Beta Hub)
pro + updaterPlugPress_LicenseLicense key activation / validation (key never leaves PHP; APIs return a masked form)
optinPlugPress_OptinGDPR-compliant telemetry opt-in (WP Guideline 7)
feedbackPlugPress_FeedbackDeactivation reason modal on plugins.php
PlugPress_ActivationActivation timestamp + optional first-run redirect
PlugPress_APIREST API (plugpress/v1/{slug}/…) behind the Hub — API-first
about / menu_parentPlugPress_AboutReact Hub admin pages (About + License)
PlugPress_ProductsCross-sell catalogue with resolved install state
PlugPress_NoticesShared flash + persistent admin notices

Every component is individually toggleable — disable what your distribution channel restricts.


Beta Hub

Each product can opt a site into its beta channel from the Hub (or via POST /plugpress/v1/{slug}/beta). When on, update checks send channel=beta; the update server serves the manifest's beta block when its version is newer than stable — with the exact same license gate and signed download token. Turning beta off (or shipping a stable ≥ the beta) returns the site to stable automatically.

Manifest side (on the updates worker):

{
"version": "1.2.0",
"beta": { "version": "1.3.0-beta.1" }
}

Upload the zip as plugpress/<slug>/<slug>-1.3.0-beta.1.zip — same naming as stable.


REST API (API-first Hub)

Everything the Hub shows or changes goes through plugpress/v1 (cookie + nonce auth, capability required):

RouteWhat
GET /{slug}/hubFull Hub payload: version, license (masked), beta, opt-in state, products
POST /{slug}/license{ action: "activate"|"deactivate", key? }
POST /{slug}/beta{ enabled: bool }
POST /{slug}/optin{ decision: "allow"|"skip"|"later" }

Consumer plugins can link their own data into the Hub: filter plugpress_sdk_hub_payload (PHP) adds data to the payload; the plugpress.hubSections JS filter (via @wordpress/hooks) appends UI sections.

Building the Hub app

The built app (admin/build/) is committed — composer consumers never run npm. To change it:

npm install && npm run build # use nvm node (see plugpress standard Δ6)

Distribution channel configs

1. PlugPress direct (full SDK)

Plugins sold at plugpress.co / outbees.co / inbees.co — SDK owns everything.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'your-plugin',
'name' => 'Your Plugin',
'file' => __FILE__,
'version' => YOUR_PLUGIN_VERSION,
'server' => 'https://updates.plugpress.co',
'telemetry_server' => 'https://analytics.plugpress.co',
'activate_redirect' => admin_url( 'admin.php?page=your-plugin#/onboarding/welcome' ),
'pro' => false, // true for pro plugins// updater, optin, feedback all default to true'menu_parent' => 'your-plugin',
'accent' => '#4F46E5',
'about' => [
'tagline' => 'One-line description.',
'links' => [
'Documentation' => 'https://yourplugin.co/docs',
'Support' => 'https://yourplugin.co/support',
],
],
] );
} );

1b. Pro via Freemius (updates + licensing owned by Freemius)

Pro products sold through Freemius. One init call: the SDK boots the Freemius SDK (ship it in your plugin via composer require freemius/wordpress-sdk or a vendored freemius/ dir) and stands its own updater/license/opt-in/feedback down — Freemius owns all four. The Hub keeps the About page and shows a "Manage account" card linking to Freemius's account screen.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'saddle-pro',
'name' => 'Saddle Pro',
'file' => __FILE__,
'version' => SADDLE_PRO_VERSION,
'pro' => true,
'menu_parent' => 'saddle',
'freemius' => [
'id' => '12345', // Freemius product id'public_key' => 'pk_...',
// 'start' => __DIR__ . '/freemius/start.php', // optional explicit path// 'init' => [ 'has_addons' => true ], // fs_dynamic_init overrides
],
'about' => [ 'tagline' => '', 'links' => [ /* … */ ] ],
] );
} );

2. DiviPeople self-hosted (Freemius lite — no updater/license)

Plugins sold at divipeople.com that use Freemius lite for opt-in/feedback but NOT for updates. SDK adds About page + analytics.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divi-blog-pro',
'name' => 'Divi Blog Pro',
'file' => __FILE__,
'version' => DBP_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // Freemius handles updates + license'optin' => true,
'feedback' => true,
'menu_parent' => 'divi-people',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Beautiful blog layouts for Divi.',
'links' => [
'Documentation' => 'https://divipeople.com/docs/divi-blog-pro',
'Support' => 'https://divipeople.com/support',
],
],
] );
} );

3. Full Freemius SDK (Divi Torque Pro and similar)

Plugins that use the full Freemius SDK — Freemius already handles opt-in and feedback. SDK adds only the About page.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divitorque',
'name' => 'Divi Torque Pro',
'file' => __FILE__,
'version' => DTP_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // Freemius'optin' => false, // Freemius has its own opt-in'feedback' => false, // Freemius has its own feedback'menu_parent' => 'divitorque',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Powerful Divi modules to create exceptional websites.',
'links' => [
'Documentation' => 'https://divitorque.com/docs',
'Support' => 'https://divitorque.com/support',
'Changelog' => 'https://divitorque.com/changelog',
],
],
] );
} );

4. ET Marketplace version

Elegant Themes marketplace restricts all external HTTP calls. SDK adds only the About page — zero external calls.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divi-blog-pro',
'name' => 'Divi Blog Pro',
'file' => __FILE__,
'version' => DBP_VERSION,
'updater' => false, // ET handles'optin' => false, // no external calls on ET'feedback' => false, // no external calls on ET'menu_parent' => 'divi-people',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Beautiful blog layouts for Divi.',
'links' => [
'Documentation' => 'https://divipeople.com/docs',
'Support' => 'https://divipeople.com/support',
],
],
] );
} );

5. Free plugins (WordPress.org)

WP.org handles updates — no updater or license needed. Opt-in and feedback are allowed.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'your-free-plugin',
'name' => 'Your Free Plugin',
'file' => __FILE__,
'version' => YOUR_PLUGIN_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // WP.org handles updates'pro' => false,
'menu_parent' => 'your-free-plugin',
'accent' => '#4F46E5',
'about' => [
'tagline' => 'One-line description.',
'links' => [
'Documentation' => 'https://...',
'Support' => 'https://wordpress.org/support/plugin/your-free-plugin',
'Rate us' => 'https://wordpress.org/plugins/your-free-plugin/#reviews',
],
],
] );
} );

Toggle cheatsheet

Channelupdateroptinfeedback
PlugPress directtruetruetrue
DiviPeople (Freemius lite)falsetruetrue
Full Freemius SDKfalsefalsefalse
ET Marketplacefalsefalsefalse
WordPress.org freefalsetruetrue

Full config reference

PlugPress_SDK::init( [
// Required'slug' => '', // plugin text-domain slug'name' => '', // human-readable plugin name'file' => __FILE__, // path to main plugin file'version' => '1.0.0',
// Update server (only used when updater: true)'server' => 'https://updates.plugpress.co',
// Analytics endpoint (only used when optin: true, empty = disabled)'telemetry_server' => 'https://analytics.plugpress.co',
// Redirect to onboarding after first activation (only when optin: true)'activate_redirect' => '',
// Pro license gate (only when updater: true)'pro' => false,
// Component toggles'updater' => true, // self-hosted update checker + license + beta channel'optin' => true, // telemetry opt-in notice + weekly ping'feedback' => true, // deactivation feedback modal'optin_inline' => false, // true when YOUR admin app renders the opt-in card// (via get_optin_js_data()) — suppresses the PHP// notice on your top-level screen// Admin UI'menu_parent' => '', // parent menu slug for About/License pages'accent' => '#2395E7', // brand colour for buttons and highlights'textdomain' => '', // defaults to slug'capability' => 'manage_options',
// About page content'about' => [
'tagline' => '',
'links' => [], // [ 'Label' => 'https://...' ]
],
] );

Installation

composer require plugpressco/plugpress-sdk

Load the autoloader before calling PlugPress_SDK::init():

if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require_once__DIR__ . '/vendor/autoload.php';
}

Shipping tip: end-user sites don't run composer install, so commit the built vendor/ into your plugin's release zip, or run composer install --no-dev -o in your build step. The classes are class_exists-guarded so multiple PlugPress plugins each carrying their own copy won't collide.


Releasing updates

cd plugpress-sdk/
git commit -m "fix: ..."
git tag v1.2.2
git push && git push --tags
# Packagist auto-updates via GitHub webhook

Update in each plugin:

composer update plugpressco/plugpress-sdk
git add composer.lock && git commit -m "chore: bump plugpress-sdk to v1.2.2"

Versioning note (shared-SDK collision)

Classes are class_exists-guarded, so when several active plugins each bundle the SDK, the first-loaded copy wins — plugins must tolerate running against a slightly older SDK than they shipped. Keep the public surface backward-compatible within a major version. (ThemeIsle's SDK solves this with version-negotiated loading — the newest bundled copy wins; worth adopting here if the SDK's surface starts moving fast.)

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Repository files navigation

PlugPress SDK

Drop-in SDK for WordPress plugins. Provides self-hosted updates (stable + beta channels), license activation, telemetry opt-in, deactivation feedback, and a React Hub (About + License pages) backed by a REST API.

composer require plugpressco/plugpress-sdk

Components

Config keyClassWhat it does
PlugPress_ConfigTyped, sanitized config every component consumes
updaterPlugPress_UpdaterChecks updates.plugpress.co for new versions (stable or beta channel)
updaterPlugPress_BetaPer-site beta-channel switch (Beta Hub)
pro + updaterPlugPress_LicenseLicense key activation / validation (key never leaves PHP; APIs return a masked form)
optinPlugPress_OptinGDPR-compliant telemetry opt-in (WP Guideline 7)
feedbackPlugPress_FeedbackDeactivation reason modal on plugins.php
PlugPress_ActivationActivation timestamp + optional first-run redirect
PlugPress_APIREST API (plugpress/v1/{slug}/…) behind the Hub — API-first
about / menu_parentPlugPress_AboutReact Hub admin pages (About + License)
PlugPress_ProductsCross-sell catalogue with resolved install state
PlugPress_NoticesShared flash + persistent admin notices

Every component is individually toggleable — disable what your distribution channel restricts.


Beta Hub

Each product can opt a site into its beta channel from the Hub (or via POST /plugpress/v1/{slug}/beta). When on, update checks send channel=beta; the update server serves the manifest's beta block when its version is newer than stable — with the exact same license gate and signed download token. Turning beta off (or shipping a stable ≥ the beta) returns the site to stable automatically.

Manifest side (on the updates worker):

{
"version": "1.2.0",
"beta": { "version": "1.3.0-beta.1" }
}

Upload the zip as plugpress/<slug>/<slug>-1.3.0-beta.1.zip — same naming as stable.


REST API (API-first Hub)

Everything the Hub shows or changes goes through plugpress/v1 (cookie + nonce auth, capability required):

RouteWhat
GET /{slug}/hubFull Hub payload: version, license (masked), beta, opt-in state, products
POST /{slug}/license{ action: "activate"|"deactivate", key? }
POST /{slug}/beta{ enabled: bool }
POST /{slug}/optin{ decision: "allow"|"skip"|"later" }

Consumer plugins can link their own data into the Hub: filter plugpress_sdk_hub_payload (PHP) adds data to the payload; the plugpress.hubSections JS filter (via @wordpress/hooks) appends UI sections.

Building the Hub app

The built app (admin/build/) is committed — composer consumers never run npm. To change it:

npm install && npm run build # use nvm node (see plugpress standard Δ6)

Distribution channel configs

1. PlugPress direct (full SDK)

Plugins sold at plugpress.co / outbees.co / inbees.co — SDK owns everything.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'your-plugin',
'name' => 'Your Plugin',
'file' => __FILE__,
'version' => YOUR_PLUGIN_VERSION,
'server' => 'https://updates.plugpress.co',
'telemetry_server' => 'https://analytics.plugpress.co',
'activate_redirect' => admin_url( 'admin.php?page=your-plugin#/onboarding/welcome' ),
'pro' => false, // true for pro plugins// updater, optin, feedback all default to true'menu_parent' => 'your-plugin',
'accent' => '#4F46E5',
'about' => [
'tagline' => 'One-line description.',
'links' => [
'Documentation' => 'https://yourplugin.co/docs',
'Support' => 'https://yourplugin.co/support',
],
],
] );
} );

1b. Pro via Freemius (updates + licensing owned by Freemius)

Pro products sold through Freemius. One init call: the SDK boots the Freemius SDK (ship it in your plugin via composer require freemius/wordpress-sdk or a vendored freemius/ dir) and stands its own updater/license/opt-in/feedback down — Freemius owns all four. The Hub keeps the About page and shows a "Manage account" card linking to Freemius's account screen.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'saddle-pro',
'name' => 'Saddle Pro',
'file' => __FILE__,
'version' => SADDLE_PRO_VERSION,
'pro' => true,
'menu_parent' => 'saddle',
'freemius' => [
'id' => '12345', // Freemius product id'public_key' => 'pk_...',
// 'start' => __DIR__ . '/freemius/start.php', // optional explicit path// 'init' => [ 'has_addons' => true ], // fs_dynamic_init overrides
],
'about' => [ 'tagline' => '', 'links' => [ /* … */ ] ],
] );
} );

2. DiviPeople self-hosted (Freemius lite — no updater/license)

Plugins sold at divipeople.com that use Freemius lite for opt-in/feedback but NOT for updates. SDK adds About page + analytics.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divi-blog-pro',
'name' => 'Divi Blog Pro',
'file' => __FILE__,
'version' => DBP_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // Freemius handles updates + license'optin' => true,
'feedback' => true,
'menu_parent' => 'divi-people',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Beautiful blog layouts for Divi.',
'links' => [
'Documentation' => 'https://divipeople.com/docs/divi-blog-pro',
'Support' => 'https://divipeople.com/support',
],
],
] );
} );

3. Full Freemius SDK (Divi Torque Pro and similar)

Plugins that use the full Freemius SDK — Freemius already handles opt-in and feedback. SDK adds only the About page.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divitorque',
'name' => 'Divi Torque Pro',
'file' => __FILE__,
'version' => DTP_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // Freemius'optin' => false, // Freemius has its own opt-in'feedback' => false, // Freemius has its own feedback'menu_parent' => 'divitorque',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Powerful Divi modules to create exceptional websites.',
'links' => [
'Documentation' => 'https://divitorque.com/docs',
'Support' => 'https://divitorque.com/support',
'Changelog' => 'https://divitorque.com/changelog',
],
],
] );
} );

4. ET Marketplace version

Elegant Themes marketplace restricts all external HTTP calls. SDK adds only the About page — zero external calls.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divi-blog-pro',
'name' => 'Divi Blog Pro',
'file' => __FILE__,
'version' => DBP_VERSION,
'updater' => false, // ET handles'optin' => false, // no external calls on ET'feedback' => false, // no external calls on ET'menu_parent' => 'divi-people',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Beautiful blog layouts for Divi.',
'links' => [
'Documentation' => 'https://divipeople.com/docs',
'Support' => 'https://divipeople.com/support',
],
],
] );
} );

5. Free plugins (WordPress.org)

WP.org handles updates — no updater or license needed. Opt-in and feedback are allowed.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'your-free-plugin',
'name' => 'Your Free Plugin',
'file' => __FILE__,
'version' => YOUR_PLUGIN_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // WP.org handles updates'pro' => false,
'menu_parent' => 'your-free-plugin',
'accent' => '#4F46E5',
'about' => [
'tagline' => 'One-line description.',
'links' => [
'Documentation' => 'https://...',
'Support' => 'https://wordpress.org/support/plugin/your-free-plugin',
'Rate us' => 'https://wordpress.org/plugins/your-free-plugin/#reviews',
],
],
] );
} );

Toggle cheatsheet

Channelupdateroptinfeedback
PlugPress directtruetruetrue
DiviPeople (Freemius lite)falsetruetrue
Full Freemius SDKfalsefalsefalse
ET Marketplacefalsefalsefalse
WordPress.org freefalsetruetrue

Full config reference

PlugPress_SDK::init( [
// Required'slug' => '', // plugin text-domain slug'name' => '', // human-readable plugin name'file' => __FILE__, // path to main plugin file'version' => '1.0.0',
// Update server (only used when updater: true)'server' => 'https://updates.plugpress.co',
// Analytics endpoint (only used when optin: true, empty = disabled)'telemetry_server' => 'https://analytics.plugpress.co',
// Redirect to onboarding after first activation (only when optin: true)'activate_redirect' => '',
// Pro license gate (only when updater: true)'pro' => false,
// Component toggles'updater' => true, // self-hosted update checker + license + beta channel'optin' => true, // telemetry opt-in notice + weekly ping'feedback' => true, // deactivation feedback modal'optin_inline' => false, // true when YOUR admin app renders the opt-in card// (via get_optin_js_data()) — suppresses the PHP// notice on your top-level screen// Admin UI'menu_parent' => '', // parent menu slug for About/License pages'accent' => '#2395E7', // brand colour for buttons and highlights'textdomain' => '', // defaults to slug'capability' => 'manage_options',
// About page content'about' => [
'tagline' => '',
'links' => [], // [ 'Label' => 'https://...' ]
],
] );

Installation

composer require plugpressco/plugpress-sdk

Load the autoloader before calling PlugPress_SDK::init():

if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require_once__DIR__ . '/vendor/autoload.php';
}

Shipping tip: end-user sites don't run composer install, so commit the built vendor/ into your plugin's release zip, or run composer install --no-dev -o in your build step. The classes are class_exists-guarded so multiple PlugPress plugins each carrying their own copy won't collide.


Releasing updates

cd plugpress-sdk/
git commit -m "fix: ..."
git tag v1.2.2
git push && git push --tags
# Packagist auto-updates via GitHub webhook

Update in each plugin:

composer update plugpressco/plugpress-sdk
git add composer.lock && git commit -m "chore: bump plugpress-sdk to v1.2.2"

Versioning note (shared-SDK collision)

Classes are class_exists-guarded, so when several active plugins each bundle the SDK, the first-loaded copy wins — plugins must tolerate running against a slightly older SDK than they shipped. Keep the public surface backward-compatible within a major version. (ThemeIsle's SDK solves this with version-negotiated loading — the newest bundled copy wins; worth adopting here if the SDK's surface starts moving fast.)

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

Repository files navigation

PlugPress SDK

Drop-in SDK for WordPress plugins. Provides self-hosted updates (stable + beta channels), license activation, telemetry opt-in, deactivation feedback, and a React Hub (About + License pages) backed by a REST API.

composer require plugpressco/plugpress-sdk

Components

Config keyClassWhat it does
PlugPress_ConfigTyped, sanitized config every component consumes
updaterPlugPress_UpdaterChecks updates.plugpress.co for new versions (stable or beta channel)
updaterPlugPress_BetaPer-site beta-channel switch (Beta Hub)
pro + updaterPlugPress_LicenseLicense key activation / validation (key never leaves PHP; APIs return a masked form)
optinPlugPress_OptinGDPR-compliant telemetry opt-in (WP Guideline 7)
feedbackPlugPress_FeedbackDeactivation reason modal on plugins.php
PlugPress_ActivationActivation timestamp + optional first-run redirect
PlugPress_APIREST API (plugpress/v1/{slug}/…) behind the Hub — API-first
about / menu_parentPlugPress_AboutReact Hub admin pages (About + License)
PlugPress_ProductsCross-sell catalogue with resolved install state
PlugPress_NoticesShared flash + persistent admin notices

Every component is individually toggleable — disable what your distribution channel restricts.


Beta Hub

Each product can opt a site into its beta channel from the Hub (or via POST /plugpress/v1/{slug}/beta). When on, update checks send channel=beta; the update server serves the manifest's beta block when its version is newer than stable — with the exact same license gate and signed download token. Turning beta off (or shipping a stable ≥ the beta) returns the site to stable automatically.

Manifest side (on the updates worker):

{
"version": "1.2.0",
"beta": { "version": "1.3.0-beta.1" }
}

Upload the zip as plugpress/<slug>/<slug>-1.3.0-beta.1.zip — same naming as stable.


REST API (API-first Hub)

Everything the Hub shows or changes goes through plugpress/v1 (cookie + nonce auth, capability required):

RouteWhat
GET /{slug}/hubFull Hub payload: version, license (masked), beta, opt-in state, products
POST /{slug}/license{ action: "activate"|"deactivate", key? }
POST /{slug}/beta{ enabled: bool }
POST /{slug}/optin{ decision: "allow"|"skip"|"later" }

Consumer plugins can link their own data into the Hub: filter plugpress_sdk_hub_payload (PHP) adds data to the payload; the plugpress.hubSections JS filter (via @wordpress/hooks) appends UI sections.

Building the Hub app

The built app (admin/build/) is committed — composer consumers never run npm. To change it:

npm install && npm run build # use nvm node (see plugpress standard Δ6)

Distribution channel configs

1. PlugPress direct (full SDK)

Plugins sold at plugpress.co / outbees.co / inbees.co — SDK owns everything.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'your-plugin',
'name' => 'Your Plugin',
'file' => __FILE__,
'version' => YOUR_PLUGIN_VERSION,
'server' => 'https://updates.plugpress.co',
'telemetry_server' => 'https://analytics.plugpress.co',
'activate_redirect' => admin_url( 'admin.php?page=your-plugin#/onboarding/welcome' ),
'pro' => false, // true for pro plugins// updater, optin, feedback all default to true'menu_parent' => 'your-plugin',
'accent' => '#4F46E5',
'about' => [
'tagline' => 'One-line description.',
'links' => [
'Documentation' => 'https://yourplugin.co/docs',
'Support' => 'https://yourplugin.co/support',
],
],
] );
} );

1b. Pro via Freemius (updates + licensing owned by Freemius)

Pro products sold through Freemius. One init call: the SDK boots the Freemius SDK (ship it in your plugin via composer require freemius/wordpress-sdk or a vendored freemius/ dir) and stands its own updater/license/opt-in/feedback down — Freemius owns all four. The Hub keeps the About page and shows a "Manage account" card linking to Freemius's account screen.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'saddle-pro',
'name' => 'Saddle Pro',
'file' => __FILE__,
'version' => SADDLE_PRO_VERSION,
'pro' => true,
'menu_parent' => 'saddle',
'freemius' => [
'id' => '12345', // Freemius product id'public_key' => 'pk_...',
// 'start' => __DIR__ . '/freemius/start.php', // optional explicit path// 'init' => [ 'has_addons' => true ], // fs_dynamic_init overrides
],
'about' => [ 'tagline' => '', 'links' => [ /* … */ ] ],
] );
} );

2. DiviPeople self-hosted (Freemius lite — no updater/license)

Plugins sold at divipeople.com that use Freemius lite for opt-in/feedback but NOT for updates. SDK adds About page + analytics.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divi-blog-pro',
'name' => 'Divi Blog Pro',
'file' => __FILE__,
'version' => DBP_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // Freemius handles updates + license'optin' => true,
'feedback' => true,
'menu_parent' => 'divi-people',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Beautiful blog layouts for Divi.',
'links' => [
'Documentation' => 'https://divipeople.com/docs/divi-blog-pro',
'Support' => 'https://divipeople.com/support',
],
],
] );
} );

3. Full Freemius SDK (Divi Torque Pro and similar)

Plugins that use the full Freemius SDK — Freemius already handles opt-in and feedback. SDK adds only the About page.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divitorque',
'name' => 'Divi Torque Pro',
'file' => __FILE__,
'version' => DTP_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // Freemius'optin' => false, // Freemius has its own opt-in'feedback' => false, // Freemius has its own feedback'menu_parent' => 'divitorque',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Powerful Divi modules to create exceptional websites.',
'links' => [
'Documentation' => 'https://divitorque.com/docs',
'Support' => 'https://divitorque.com/support',
'Changelog' => 'https://divitorque.com/changelog',
],
],
] );
} );

4. ET Marketplace version

Elegant Themes marketplace restricts all external HTTP calls. SDK adds only the About page — zero external calls.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'divi-blog-pro',
'name' => 'Divi Blog Pro',
'file' => __FILE__,
'version' => DBP_VERSION,
'updater' => false, // ET handles'optin' => false, // no external calls on ET'feedback' => false, // no external calls on ET'menu_parent' => 'divi-people',
'accent' => '#7747FF',
'about' => [
'tagline' => 'Beautiful blog layouts for Divi.',
'links' => [
'Documentation' => 'https://divipeople.com/docs',
'Support' => 'https://divipeople.com/support',
],
],
] );
} );

5. Free plugins (WordPress.org)

WP.org handles updates — no updater or license needed. Opt-in and feedback are allowed.

add_action( 'init', function () {
if ( ! class_exists( 'PlugPress_SDK' ) ) return;
PlugPress_SDK::init( [
'slug' => 'your-free-plugin',
'name' => 'Your Free Plugin',
'file' => __FILE__,
'version' => YOUR_PLUGIN_VERSION,
'telemetry_server' => 'https://analytics.plugpress.co',
'updater' => false, // WP.org handles updates'pro' => false,
'menu_parent' => 'your-free-plugin',
'accent' => '#4F46E5',
'about' => [
'tagline' => 'One-line description.',
'links' => [
'Documentation' => 'https://...',
'Support' => 'https://wordpress.org/support/plugin/your-free-plugin',
'Rate us' => 'https://wordpress.org/plugins/your-free-plugin/#reviews',
],
],
] );
} );

Toggle cheatsheet

Channelupdateroptinfeedback
PlugPress directtruetruetrue
DiviPeople (Freemius lite)falsetruetrue
Full Freemius SDKfalsefalsefalse
ET Marketplacefalsefalsefalse
WordPress.org freefalsetruetrue

Full config reference

PlugPress_SDK::init( [
// Required'slug' => '', // plugin text-domain slug'name' => '', // human-readable plugin name'file' => __FILE__, // path to main plugin file'version' => '1.0.0',
// Update server (only used when updater: true)'server' => 'https://updates.plugpress.co',
// Analytics endpoint (only used when optin: true, empty = disabled)'telemetry_server' => 'https://analytics.plugpress.co',
// Redirect to onboarding after first activation (only when optin: true)'activate_redirect' => '',
// Pro license gate (only when updater: true)'pro' => false,
// Component toggles'updater' => true, // self-hosted update checker + license + beta channel'optin' => true, // telemetry opt-in notice + weekly ping'feedback' => true, // deactivation feedback modal'optin_inline' => false, // true when YOUR admin app renders the opt-in card// (via get_optin_js_data()) — suppresses the PHP// notice on your top-level screen// Admin UI'menu_parent' => '', // parent menu slug for About/License pages'accent' => '#2395E7', // brand colour for buttons and highlights'textdomain' => '', // defaults to slug'capability' => 'manage_options',
// About page content'about' => [
'tagline' => '',
'links' => [], // [ 'Label' => 'https://...' ]
],
] );

Installation

composer require plugpressco/plugpress-sdk

Load the autoloader before calling PlugPress_SDK::init():

if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require_once__DIR__ . '/vendor/autoload.php';
}

Shipping tip: end-user sites don't run composer install, so commit the built vendor/ into your plugin's release zip, or run composer install --no-dev -o in your build step. The classes are class_exists-guarded so multiple PlugPress plugins each carrying their own copy won't collide.


Releasing updates

cd plugpress-sdk/
git commit -m "fix: ..."
git tag v1.2.2
git push && git push --tags
# Packagist auto-updates via GitHub webhook

Update in each plugin:

composer update plugpressco/plugpress-sdk
git add composer.lock && git commit -m "chore: bump plugpress-sdk to v1.2.2"

Versioning note (shared-SDK collision)

Classes are class_exists-guarded, so when several active plugins each bundle the SDK, the first-loaded copy wins — plugins must tolerate running against a slightly older SDK than they shipped. Keep the public surface backward-compatible within a major version. (ThemeIsle's SDK solves this with version-negotiated loading — the newest bundled copy wins; worth adopting here if the SDK's surface starts moving fast.)

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages