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-forms
    php vendor/bin/wire module:refresh

Uninstalling Forms from Modules (or via php vendor/bin/wire module:uninstall Forms) runs ___uninstall(), which performs a complete teardown:

  • Discovers and purges all internal FormsBlueprints types and all compiled forms-sub-{slug} submission blueprints and items.
  • Drops all 3 managed SQL tables owned by FormsTables::OWNER (forms_nonces, forms_rate_limits, forms_ab_counters).
  • Cascades deletion of private attachments (deletePrivateAttachments([], true)), removes site/assets/cache/Forms/, clears Forms WireCache entries (forms_signing_secret, forms_*), and deletes the forms log.
  • Removes the forms-admin and forms-submissions permissions and unregisters React workspace, widget, and command-search extensions.
  • Preserves any version-controlled YAML/PHP files you created manually in site/forms/.

Next steps