sulu/sulu-form-bundle
SuluFormBundle adds dynamic form creation to the Sulu admin UI, letting content managers build forms for contact, sweepstake, or other use cases, position fields in a grid, and configure emails to visitors or themselves. Built on Symfony Form, compatible with Sulu 2.0+.
First-order finding: this is not a Laravel package. sulu/form-bundle is a Sulu CMS bundle built on Symfony’s Form component. It only makes sense inside a Sulu 2.x application; a Laravel integration would be a port/reimplementation, not a package install.
Architecture fit. Strong fit for Sulu-based content platforms. The bundle extends the Sulu admin so content managers can create dynamic forms, position fields in a grid, configure notification/confirmation emails, and manage submissions. It uses Symfony Form for rendering, validation, and theming, which aligns with Sulu’s Symfony foundation. Submissions are persisted through Sulu/Doctrine dynamic entities, with admin list views and historical CSV-export demand. It is not a general-purpose form builder and does not provide Laravel service providers, Eloquent models, Blade integration, or Laravel validation conventions.
Integration feasibility. In a Sulu 2.x project, integration is moderate: composer require sulu/form-bundle, register/configure the bundle, configure mail and spam controls, add frontend templates, and validate submission storage and permissions. Outside Sulu, feasibility is low to infeasible. The hard dependencies are Sulu >=2.0, Symfony Form, Doctrine, and Sulu admin asset/routing conventions. Release 2.1.0 includes Doctrine updates for PHP 8 compatibility, but the project must still verify PHP, Symfony, Sulu, and Doctrine constraint alignment.
Technical risk.
UPGRADE.md path and regression testing of stored submissions.Key questions.
Stack fit. Adopt only if Sulu is the CMS and Symfony/Twig is the rendering stack. The bundle is a natural extension of Sulu admin and Symfony Form, and content editors gain form-building without developer involvement. For a Laravel application, do not force this package; use a Laravel-native form package or a separate form service, and integrate via API/webhooks if needed. For a mixed Sulu + Laravel estate, keep the bundle inside Sulu and expose submission data to Laravel through a controlled API or database boundary.
Migration path.
UPGRADE.md, account for the package rename, event-name changes, Symfony 5 compatibility, and dynamic-entity reductions. Test existing submission data and admin list behavior before production cutover.Compatibility. Confirm Composer constraints against Sulu >=2.0, Symfony Form, Doctrine, and PHP 8. Validate Sulu admin assets build correctly, mailer configuration supports the required sender/envelope behavior, and file upload/media storage is configured. Check reCAPTCHA and honeypot behavior in the target Sulu version. Verify multilingual form creation and locale-specific field-type sorting if required.
Sequencing.
Maintenance. The bundle inherits the Sulu/Symfony upgrade train. Expect recurring work for Sulu major/minor upgrades, Symfony deprecations, Doctrine changes, admin asset builds, and form-template compatibility. Low external adoption means fewer community fixes and a higher chance the team must patch or fork. Budget explicit regression coverage for form definitions, submissions, emails, uploads, and exports.
Support. Support is community-based through Sulu Slack and GitHub issues. MIT licensing and the official Sulu bundle badge are positives, but there is no vendor SLA attached to this package. If forms are business-critical, engage a Sulu partner or assign an internal owner with Sulu/Symfony expertise. Escalation should include a plan to pin versions or carry a maintained fork.
Scaling. Form definitions are cached, so cache invalidation must be correct after edits. Submissions scale primarily with database writes, admin list queries, attachment storage, and email throughput. High-volume forms need queue-based mail delivery, indexed submission tables, attachment size/type limits, retention jobs, and export offloading. Admin list performance and CSV export should be load-tested with realistic submission counts.
Failure modes.
Ramp-up. Sulu/Symfony developers can onboard in days for basic forms; deeper work around dynamic entities, caching, uploads, and upgrades requires platform familiarity. Content editors need training on form layout, email configuration, spam settings, and submission review. Operations needs runbooks for mail, storage, database growth, retention, and upgrade rollback. Laravel-only teams should assume a significant learning curve and should not select this bundle unless Sulu is already the platform.
How can I help you explore Laravel packages today?