Search by

yiggle / form-wizard-bundle

Predjee

Multi-step forms for Sulu 3: visual builder, conditional fields, Mollie payments, email notifications and CSV export.

Package info

github.com/Predjee/form-wizard-bundle

Documentation

Type:symfony-bundle

pkg:composer/yiggle/form-wizard-bundle

Statistics

Installs: 105

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v0.5.0 2026-12-03 14:07 UTC

README

CI Latest Version Downloads License

Multi-step forms for Sulu 3, built by editors in the Sulu admin and rendered on the website with Symfony Forms. Submissions, mails and webhooks are handled in the background, so the bundle runs on shared hosting. Payments are optional: a form without prices is a plain form.

Status: pre-1.0. Build on the types marked @api only; everything marked @internal may change in any release (ADR 005). Every breaking change is listed in UPGRADE.

Features

  • Form builder in the Sulu admin: steps, fields, repeatable groups, file uploads, consent and content blocks.
  • Conditions: show fields and steps based on earlier answers, checked again on the server.
  • Mails: to the site and the customer, with variables, rules per receiver, branding and a test mail.
  • Submissions: list, detail with history, CSV/Excel export, retention per form and personal data requests.
  • Payments (optional): prices, VAT, discount codes, capacity and closing dates, Mollie built in, retry and reminder mails.
  • Webhooks: signed deliveries with retries and a log per attempt.
  • Operating: processing dashboard, failed message retry and a yiggle:form-wizard:check setup check.
  • Spam protection: honeypot, timing and rate limits out of the box, Cloudflare Turnstile optional.
  • No frontend build: Stimulus controllers via AssetMapper, an optional stylesheet, or your own CSS classes.
  • Extensible: own field types, payment providers, completion gates, mail templates and event listeners.

A form has one language; for a multilingual site, create one form per language (ADR 001).

Compatibility

Component Supported Tested in CI
PHP 8.4+ 8.4, 8.5
Symfony 7.4 / 8.x 7.4 (lowest and newest), 8
Sulu 3.x 3.0 (lowest) and newest
Doctrine ORM 3.x (DBAL 4.5+) lowest and newest

Quick start

Starting from a new sulu/skeleton? Run composer require symfony/asset-mapper symfony/doctrine-messenger first and load {{ importmap('app') }} in your base template; the installation guide explains why.

  1. Install the bundle; the Flex recipe adds the configuration and routes:

    composer require yiggle/form-wizard-bundle
  2. Create the tables:

    bin/console doctrine:migrations:migrate
  3. Add "@yiggle/form-wizard-bundle": "file:../../vendor/yiggle/form-wizard-bundle/assets/admin/" to the dependencies in assets/admin/package.json, import '@yiggle/form-wizard-bundle'; to assets/admin/app.js, and rebuild the admin:

    bin/adminconsole sulu:admin:update-build
  4. Check that Flex added the bundle's Stimulus controllers to assets/controllers.json.

  5. Route ProcessSubmission, SendStatusMail and SendWebhook to an async Messenger transport and run messenger:consume (Supervisor, systemd or cron).

  6. Check the setup; every problem comes with its fix:

    bin/console yiggle:form-wizard:check
  7. Grant the Form Wizard permissions to a role, add a form under Yiggle Form Wizard > Forms and tick Published.

  8. Add the form wizard block to a page and select the form.

The installation guide has every step in full, including the cron lines for shared hosting.

Documentation

Guide For
User guide Installing, configuring, building forms, submissions and operating
Developer guide Architecture, extension points, reference and testing
Architecture decisions Why the bundle is built the way it is
UPGRADE Steps for every release
CHANGELOG What changed in every release

Contributing

composer install
composer qa

composer qa runs ECS, the dependency analyser, Rector, Deptrac, PHPStan, PHPUnit and the JavaScript tests. How the tests are set up is in Testing.

License

MIT, see LICENSE.