Skip to content

Packages for ProcessWire

Packages (trk/processwire-packages) turns ProcessWire 3 into a self-hosted private Composer v2 registry, versioned ZIP release server, commercial licensing engine, and self-service Customer Portal. Distribute commercial modules, agency starter kits, or internal libraries with domain activation quotas, automated GitHub/CI publishing, and native Payments checkout from Setup -> Packages.

Setup -> Packages displays live registry metrics, copyable Composer/ZIP/CI/GitHub endpoints, and one-click license issuance.

Private Composer v2 & ZIP Server

Serve authenticated /composer/packages.json, /composer/p2/{vendor}/{package}.json, and /composer/dist/... feeds alongside versioned /packages/download/{slug}/{version}.zip and .sha256 checksums.

Tiers, Bundles & Domain Quotas

Model one_time_updates, subscription, lifetime, and trial licenses with reusable packages-tiers, multi-package packages-bundles, strict domain enforcement, and exempt dev/staging hostnames.

Customer Portal & Storefront API

Ship a built-in /portal/* workspace for downloads, licenses, billing, and pkg_tok_ Composer tokens, plus a Storefront PHP API (catalog(), packageForPage(), packageForDocsPage()).

CI Publishing & Payments Checkout

Mirror releases from GitHub webhooks (X-Hub-Signature-256) or push ZIPs from CI (Bearer pkg_ci_...), and sell one-time or recurring licenses directly via Payments.

Requirement Minimum Version Notes
PHP 8.4+ zip, sodium, and openssl extensions required for archives and KeyCodec sealing.
ProcessWire 3.0.271+ Lazy 'autoload' => false boot; zero overhead on unrelated site pages.
Required Modules Inertia, React, Entries Uses PackagesBlueprints plus 4 managed SQL tables (entries_tbl_packages_*).
Companion Module ProcessPackages Installed automatically at Setup -> Packages.

Next steps