Installation & Requirements
Installing Contacts (trk/processwire-contacts) automatically installs its admin workspace companion ProcessContacts under Setup -> Contacts and creates the contacts-view, contacts-manage, and contacts-admin permissions.
Requirements
Section titled “Requirements”| Component | Version |
|---|---|
| PHP | 8.4+ |
| ProcessWire | 3.0.271+ |
| Required Modules | Inertia, React, Entries |
Install Contacts
Section titled “Install Contacts”-
Require the package with Composer:
Terminal window composer require trk/processwire-contacts -
Refresh modules and install
Contacts:Terminal window php vendor/bin/wire module:refresh --jsonphp vendor/bin/wire module:install --name=Contacts --json -
Seed starter roles and tags (add
--with-demoin local development for sample records):Terminal window php vendor/bin/wire contacts:seed --mode=skip --only=roles,tags --json -
Verify installation health and telemetry:
Terminal window php vendor/bin/wire contacts:doctor --json
- Log in as a superuser and navigate to Modules -> New.
- Use Add Module from Directory (enter
Contacts), Add Module from URL, or Add Module from Upload (ZIP archive). - Click Modules -> Refresh, locate Contacts under the Site tab, and click Install.
ProcessContactsinstalls automatically. - Open Setup -> Contacts -> Settings to configure your default country, currency, language, duplicate strategy, and retention window.
- Download and extract the release archive into
site/modules/Contacts/. - Open Modules -> Refresh in the ProcessWire Admin (or run
php vendor/bin/wire module:refresh). - Click Install next to Contacts under Modules -> Site.
Optional: Schedule Automated Retention
Section titled “Optional: Schedule Automated Retention”If you enable Retention (Days) under Setup -> Contacts -> Settings -> Privacy & Sync, ensure the processwire-console scheduler cron runs every minute so ContactsRetentionTask executes daily at 03:00:
* * * * * cd /path/to/processwire && php vendor/bin/wire schedule:run >> /dev/null 2>&1