Installation & Requirements
Prerequisites
Section titled “Prerequisites”- PHP 8.4+ with
zip,sodium, andopensslextensions. - ProcessWire 3.0.271+ with
Inertia,React, andEntriesinstalled and active. - Optional sibling modules:
Payments(checkout & recurring billing),Account(customer identity & notifications),Currency(multi-currency formatting), andHeadless(API access).
Install the Module
Section titled “Install the Module”composer require trk/processwire-packagesphp vendor/bin/wire module:install Packages --json- Log in as a superuser and navigate to Modules -> New.
- Use Add Module from Directory (enter
Packages), Add Module from URL, or Add Module from Upload (ZIP archive). - Click Modules -> Refresh, locate Packages under the Site tab, and click Install. ProcessWire automatically installs
ProcessPackagesat Setup -> Packages.
- Download and extract the release directory into
site/modules/Packages/. - Open Modules -> Refresh in the ProcessWire Admin (or run
php vendor/bin/wire module:refresh). - Click Install next to Packages under Modules -> Site.
Installation provisions PackagesBlueprints, creates the 4 managed SQL tables (entries_tbl_packages_downloads, entries_tbl_packages_activations, entries_tbl_packages_rate_limits, entries_tbl_packages_credentials), and installs the 3 RBAC permissions (packages-view, packages-manage, packages-admin).
Block Direct Web Access to Archive Storage
Section titled “Block Direct Web Access to Archive Storage”Packages stores release ZIPs inside site/assets/packages/. Always add an Nginx 403 rule (Apache is already protected via .htaccess) so archives can only be downloaded through authenticated endpoints:
location ^~ /site/assets/packages/ { return 403;}Verify Your Registry
Section titled “Verify Your Registry”Run packages:doctor (add --fix to repair missing directories or storage guards automatically):
php vendor/bin/wire packages:doctor --jsonphp vendor/bin/wire packages:doctor --fix --json