Skip to content

Installation & Requirements

  • PHP 8.4+ with zip, sodium, and openssl extensions.
  • ProcessWire 3.0.271+ with Inertia, React, and Entries installed and active.
  • Optional sibling modules: Payments (checkout & recurring billing), Account (customer identity & notifications), Currency (multi-currency formatting), and Headless (API access).
Terminal window
composer require trk/processwire-packages
php vendor/bin/wire module:install Packages --json

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;
}

Run packages:doctor (add --fix to repair missing directories or storage guards automatically):

Terminal window
php vendor/bin/wire packages:doctor --json
php vendor/bin/wire packages:doctor --fix --json

Next steps