sightpress / plugin-form-builder
The official SightPress plugin for accessible forms.
Package info
github.com/sightpress/sightpress-plugin-form-builder
Type:sightpress-plugin
pkg:composer/sightpress/plugin-form-builder
Requires
- php: ^8.4
- sightpress/plugin-core: ^1.0
Requires (Dev)
- deptrac/deptrac: ^4.0
- friendsofphp/php-cs-fixer: ^3.64
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.1
- phpstan/phpstan-phpunit: ^2.0
- phpunit/phpunit: ^13.0
- rector/rector: ^2.0
- sightpress/core: ^1.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-06 09:41:33 UTC
README
sightpress/plugin-form-builder: the official SightPress plugin for accessible
custom forms. Licensed GPL-2.0-or-later. It replaces the never-released
contact-form plugin, including the core Contact page's form.
Status: M0 scaffolding in place (manifest, bundle, quality gates, CI); features arrive in milestone M12.
It adds:
- Contact, registration, survey and application form starters, and a builder for new ones.
- Multi-step forms with save and resume, one question per page, and conditional questions.
- A "Check your answers" review step before submitting, and private file uploads.
- An
::formblock usable on any page or content type, a submission inbox, and CSV/JSON export.
Every form follows the public form pattern: works without JavaScript, an error summary, honeypot plus a minimum time-to-submit plus rate limits and moderation — never a CAPTCHA or other cognitive test.
Development
composer install vendor/bin/phpunit # on PluginTestCase, enabled and disabled vendor/bin/phpstan analyse npx playwright test # every manifest route, with axe-core
Check out sightpress/core as a sibling and require it with
COMPOSER=composer.dev.json composer install to run the test kernel.