Appearance
Overview
PackEdge is a license management and release distribution platform for WordPress plugin and theme developers.
Architecture
| Component | URL | Description |
|---|---|---|
| API | api.packedge.dev | Hono on Cloudflare Workers |
| Console | console.packedge.dev | SolidJS SPA on Cloudflare Pages |
| Docs | docs.packedge.dev | VitePress on Cloudflare Pages |
| Database | — | Cloudflare D1 (SQLite) |
| Storage | — | Cloudflare R2 |
| Cache | — | Cloudflare KV |
Key Concepts
Products
Products represent your WordPress plugins or themes. Each product has:
- A unique slug used in API calls
- A
public_keyfor client-side validation (safe to embed) - Optional release management for auto-updates
Licenses
License keys grant customers access to your product. Each license has:
- A unique key in format
PREFIX-XXXX-XXXX-XXXX-XXXX - Seat limits (max simultaneous sites)
- Optional expiration date
- Status tracking (active, expired, revoked, suspended)
Sites
When a customer installs your plugin and enters their license key, a site is created. Sites track:
- Which urls are using a license
- Seat usage against the limit
- Activation/deactivation history
Releases
Releases are versioned ZIP files of your plugin/theme. When enabled, PackEdge serves WordPress-compatible update checks, allowing your plugin to update through the standard WordPress admin.
API Types
PackEdge has two API types:
| Type | Prefix | Auth | Use Case |
|---|---|---|---|
| Public API | /public/v1/* | Product public_key | License validation, updates |
| Management API | /console/* | Session cookie | Console operations |
The Public API is documented here and designed for embedding in your WordPress plugins.
The Management API is internal and used only by the console.
