Skip to content

Installation & Quickstart

Requirement Version
PHP >= 8.4
ProcessWire >= 3.0.271
Required Modules Inertia, React, Entries, Contacts
Recommended Mailer WireMailPHPMailer or any ProcessWire WireMail ESP transport
Optional CLI trk/processwire-console (vendor/bin/wire) for campaign:* commands, queue workers, and scheduled tasks
  1. Require the package and install the module via CLI:

    Terminal window
    composer require trk/processwire-campaign
    php vendor/bin/wire module:refresh --json
    php vendor/bin/wire module:install --name=Campaign --json

Installing Campaign automatically installs ProcessCampaign (Setup -> Campaigns), creates the three RBAC permissions (campaign-admin, campaign-manage, campaign-view), and registers the 7 hidden blueprints and 5 Managed SQL Tables.

  1. Verify your installation with campaign:doctor

    Terminal window
    php vendor/bin/wire campaign:doctor --json
  2. Seed starter Campaign Types, Mailing Lists, and demo records (optional)

    Terminal window
    php vendor/bin/wire campaign:seed --with-demo --json
  3. Configure your sender identity and brand defaults

    Open Setup -> Campaigns -> Settings, fill in Default From Name, Default From Email, Brand Name, Brand Color, and Email Footer HTML, and save.

  4. Create and send a test campaign

    Open Setup -> Campaigns -> Campaigns, create or edit a campaign (for example Summer 2026 Gocek & Bodrum Routes), preview the rendered HTML, and click Send Test to deliver a sample email to your inbox.

  5. Dispatch a Sendout

    Open Setup -> Campaigns -> Sendouts, create a regular or scheduled sendout targeting your Mailing List or Segment, and dispatch from the UI or CLI:

    Terminal window
    php vendor/bin/wire campaign:send --sendout=<sendout-uuid> --sync --json

Next steps