Installation & Requirements
Prerequisites
Section titled “Prerequisites”- PHP 8.4+ with
sodium,openssl, andfileinfoextensions. - ProcessWire 3.0.271+ with
Inertia,React, andEntriesinstalled and active. - Optional sibling modules:
Ai,Currency,Payments,Contacts,Campaign,Headless, andMedia.
Install the Module
Section titled “Install the Module”composer require trk/processwire-formsphp vendor/bin/wire module:install Forms --json- Log in as a superuser and navigate to Modules -> New.
- Use Add Module from Directory (enter
Forms), Add Module from URL, or Add Module from Upload (ZIP archive). - Click Modules -> Refresh, locate Forms under the Site tab, and click Install. ProcessWire installs
ProcessFormsat Setup -> Forms alongsideFieldtypeFormsandInputfieldForms.
- Download and extract the release directory into
site/modules/Forms/. - Open Modules -> Refresh in the ProcessWire Admin (or run
php vendor/bin/wire module:refresh). - Click Install next to Forms under Modules -> Site.
On installation, Forms registers FormsBlueprints, creates the 3 managed SQL tables (forms_nonces, forms_rate_limits, forms_ab_counters), seeds the 4 built-in forms-statuses workflow labels, and creates the forms-admin and forms-submissions permissions.
Scaffold Your First Form via CLI
Section titled “Scaffold Your First Form via CLI”Use make:form to generate a file-backed YAML blueprint in site/forms/ (or persist directly to the database with --db) from any built-in stencil (contact, quote, survey, job-application):
php vendor/bin/wire make:form charter-inquiry \ --title="Aegean Charter Inquiry" \ --stencil=quote \ --steps=2 \ --jsonOptional Background Queue & Scheduled Tasks
Section titled “Optional Background Queue & Scheduled Tasks”For async notification/webhook delivery and automated maintenance, keep trk/processwire-console queue workers and scheduler active:
- Queue:
ProcessFormDeliveryQueue(queue/ProcessFormDeliveryQueue.php) - Scheduled Tasks (
schedule/):MonitorFormsHealthTask,PruneFormSubmissionsTask,RunScheduledExportsTask, andSendFormsDigestTask.