Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Sulu Form Bundle Laravel Package

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+.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

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.

  • Adoption risk: 86 stars and 0 dependents indicate a niche package with limited external validation. The provided score is ~48/100 and opportunity ~35/100, consistent with a Sulu-only audience.
  • Maintainer risk: development is community-driven with a small core contributor group. MIT licensing removes commercial lock-in but provides no SLA.
  • API/schema churn: 2.0 renamed the package, changed event naming, reduced dynamic entities to basic fields, and added Symfony 5 compatibility. Upgrades require the UPGRADE.md path and regression testing of stored submissions.
  • Security surface: public form endpoints, file uploads/attachments, email sender/receiver configuration, reCAPTCHA, and honeypot support all require explicit hardening. Form submissions are PII and need retention, export, and access controls.
  • Operational coupling: form caching, dynamic entity schema, media handling, and mail delivery are all failure points that depend on Sulu/Symfony configuration.
  • Metadata caution: the listed last-release date appears anomalous for a current assessment; validate actual release cadence and branch support before committing.

Key questions.

  1. Is the target application already on Sulu 2.x, and which exact Sulu/Symfony/PHP versions are in use?
  2. Is the frontend Twig-rendered Sulu, headless Sulu, or a separate application? Does the bundle’s website controller/template model fit?
  3. Which form capabilities are mandatory: file uploads, multi-language forms, conditional fields, Mailchimp integration, CSV export, reCAPTCHA, honeypot, custom field types?
  4. Expected submission volume, attachment volume, retention period, and PII/legal requirements?
  5. Who owns Sulu platform upgrades and bundle regression testing?
  6. Is community Slack/GitHub support acceptable, or is a commercial Sulu partner required?
  7. Can submission data be exported, migrated, and deleted reliably?
  8. What is the fallback if the bundle lags a Sulu/Symfony security release?

Integration Approach

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.

  • Greenfield Sulu: install, configure, and build representative forms directly; lowest risk.
  • Existing static Symfony/Sulu forms: migrate incrementally, starting with low-risk contact forms before sweepstakes, upload, or multilingual forms.
  • 1.x to 2.x: follow 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.
  • Laravel-origin forms: do not migrate the form engine into Laravel; either retain Laravel forms or migrate the public form experience to Sulu only if Sulu is becoming the system of record.

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.

  1. Run a non-production spike on the exact Sulu/Symfony/PHP versions; resolve Composer constraints first.
  2. Install and register the bundle; configure mail, uploads, spam controls, and permissions.
  3. Build one representative form covering required field types, validation, notification email, confirmation email, and attachment behavior.
  4. Validate submission persistence, admin list access, export, retention, and deletion.
  5. Integrate frontend rendering/theming and test responsive, accessibility, and error states.
  6. Run security and load tests on public endpoints, including spam and upload abuse cases.
  7. Document editor workflows, upgrade ownership, and rollback; then phase rollout by form criticality.

Operational Impact

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.

  • Mail delivery failures or misconfigured sender/envelope settings.
  • Missing or invalid receiver/sender configuration after upgrades.
  • Attachment/media save failures or orphaned files.
  • reCAPTCHA/honeypot misconfiguration causing spam or false rejections.
  • Cache invalidation leaving stale form definitions.
  • Field-order or translation regressions after save/upgrade.
  • Dynamic entity schema changes breaking existing submissions.
  • Event-name or package-rename breakage in custom integrations.
  • Uncontrolled PII retention and export access.
  • Public endpoint abuse, upload abuse, or email header injection.

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast