Installation & Requirements
Prerequisites
Section titled “Prerequisites”- PHP 8.4+ with
ext-bcmath,ext-intl, andext-curlenabled. - ProcessWire 3.0.271+ with
Inertia,React, andEntriesinstalled and active.
Install the Module
Section titled “Install the Module”composer require trk/processwire-currencyphp vendor/bin/wire module:install Currency --json- Log in as a superuser and navigate to Modules -> New.
- Use Add Module from Directory (enter
Currency), Add Module from URL, or Add Module from Upload (ZIP archive). - Click Modules -> Refresh, locate Currency under the Site tab, and click Install. ProcessWire automatically installs
ProcessCurrencyat Setup -> Currencies.
- Download and extract the release directory into
site/modules/Currency/. - Open Modules -> Refresh in the ProcessWire Admin (or run
php vendor/bin/wire module:refresh). - Click Install next to Currency under Modules -> Site.
On installation, Currency registers its 3 Entries blueprints (currency-settings, currency-currencies, currency-rate-history), seeds default currencies (EUR base plus common world currencies via CurrencySeeds), and installs the 3 RBAC permissions (currency-view, currency-manage, currency-admin).
Verify Your Setup
Section titled “Verify Your Setup”Run the diagnostic command and list active currencies:
php vendor/bin/wire currency:doctor --jsonphp vendor/bin/wire currency:list --jsonEnable Scheduled Exchange Rate Sync
Section titled “Enable Scheduled Exchange Rate Sync”Currency ships SyncExchangeRatesTask (schedule/SyncExchangeRatesTask.php), scheduled hourly(). Whenever autoSyncEnabled is active, activeProvider !== 'manual', and the configured syncIntervalHours window has elapsed, the scheduler refreshes rates automatically and prunes history older than historyRetentionDays.