Skip to content

Upgrading & Uninstalling

Always take a database backup (php vendor/bin/wire db:backup) before upgrading in production.

  1. Update the package and refresh modules so ProcessWire runs ___upgrade() automatically:

    Terminal window
    composer update trk/processwire-currency
    php vendor/bin/wire module:refresh
    php vendor/bin/wire currency:doctor --json

Uninstalling Currency from Modules (or via php vendor/bin/wire module:uninstall Currency) runs ___uninstall() for a zero-orphan teardown:

  • Purges all 3 CurrencyBlueprints types (currency-settings, currency-currencies, currency-rate-history) and their stored entries.
  • Deletes all 3 RBAC permissions (currency-admin, currency-manage, currency-view).
  • Clears Currency WireCache entries, session state, the currency log, and deferred React workspace, widget, command-search, and data-provider registrations.
  • Removes the companion ProcessCurrency admin page at Setup -> Currencies.

Next steps