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

Form Bundle Laravel Package

sulu/form-bundle

SuluFormBundle lets content managers create dynamic forms directly in Sulu Admin—such as contact or sweepstake forms—position fields in a grid, and configure emails sent to visitors or themselves. Built on the Symfony Form Component and theming features.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Dynamic Form Creation: Enables non-technical teams (e.g., marketing, customer support) to design and manage forms (e.g., contact, surveys, lead capture) without developer intervention, reducing backlog dependency.
  • Multi-Channel Integration: Supports email notifications (via Symfony Mailer) and Sendinblue for double-opt-in workflows, aligning with GDPR/compliance needs.
  • Sulu CMS Expansion: Extends Sulu’s capabilities for headless or decoupled frontend use cases (e.g., React/Vue forms) by leveraging Symfony’s Form Component under the hood.
  • Build vs. Buy: Avoids custom form-building solutions (saving 3–6 months of dev time) while offering more flexibility than off-the-shelf tools like Google Forms.
  • Platform Longevity / Upgrade Risk: The 3.0.1 patch confirms the bundle is tracking Symfony 8 and modernizing its internals (XML → PHP service definitions). This lowers the risk of the bundle becoming an upgrade blocker when we move our Symfony version forward — a relevant input to “build vs. buy” and to when we schedule our own framework upgrades.
  • Roadmap Priorities:
    • Phase 1: Replace legacy PHP form handlers with this bundle for 3 key customer-facing forms (contact, newsletter signup, support ticket).
    • Phase 2: Integrate with Sendinblue for analytics and automation, reducing reliance on manual CRM imports.
    • Phase 3: Enable A/B testing via dynamic form variants (leveraging Sulu’s localization features), and use the bundle’s admin-configurable external redirect links to route submissions to campaign or partner landing pages without code changes.

When to Consider This Package

  • Adopt if:

    • Your stack uses Sulu CMS (v2.0+) or Symfony (v5.4+ through Symfony 8) and needs admin-managed forms.
    • You require dynamic field types (e.g., file uploads, multi-select, conditional logic) without custom code.
    • Your team lacks frontend dev resources to build form UIs from scratch.
    • You need multi-language support (fallback locales, shadow translations) for global audiences.
    • Compliance (GDPR, double-opt-in) or analytics (Sendinblue integration) are priorities.
    • You run long-running workers or request-reusing runtimes (e.g., Octane): 3.0.1 resets the built form cache between requests, removing a class of “stale form definition” bugs that previously had to be worked around.
  • Look elsewhere if:

    • You’re not using Sulu/Symfony (e.g., WordPress, static sites, or non-PHP backends).
    • You need advanced validation (e.g., real-time API checks) beyond Symfony’s Form Component.
    • Your forms require highly customized UI components (e.g., drag-and-drop builders like Form.io).
    • You’re on PHP < 8.2 (latest stable SuluFormBundle drops support for older versions) or on a Symfony version the current major no longer supports.
    • Your use case demands serverless/formless solutions (e.g., Firebase, Supabase).

How to Pitch It (Stakeholders)

For Executives:

"This package lets our content teams self-service form creation—no more waiting for dev cycles to add a contact form or survey. By integrating with Sulu, we’ll cut form-related dev time by 70%, freeing engineers for high-impact projects. It also future-proofs our compliance (GDPR via Sendinblue) and supports global scaling with multi-language forms. The latest patch shows an actively maintained project that already supports Symfony 8, so adopting it won’t box us in when we upgrade our platform. The MIT license and Sulu’s backing mean low risk—we’re essentially buying a pre-built, enterprise-grade feature."

For Engineering:

*"SuluFormBundle gives us a Symfony-powered, admin-managed form solution with:

  • Zero custom form code for basic use cases (fields, validation, emails).
  • Sendinblue integration for lead management (reduces CRM import work).
  • Headless-friendly: Frontend teams can consume forms via API or Twig.
  • Active maintenance: 3.0.1 is a low-risk patch — Symfony 8 compatibility, migration from XML to PHP service definitions, external redirects now resolved through the link provider, and a fix that resets the built form cache between requests (matters if we run Octane or reuse the container across requests).
  • Clear upgrade path: no breaking changes in this release; it extends, rather than constrains, our supported framework range. Tradeoff: We’ll need to align with Sulu’s roadmap for major-version jumps (e.g., the Swiftmailer → Symfony Mailer transition already handled in the 3.x line; expect similar work at future majors). Recommend a 6-month pilot with the contact form before scaling."*

For Product/Design:

*"This lets you design forms in the Sulu admin—drag fields, set emails, and publish—without involving dev. Key for:

  • A/B testing: Create variants via Sulu’s localization.
  • Compliance: Built-in double-opt-in for GDPR.
  • Redirects without tickets: Point a form’s success action at an external campaign or partner URL from the admin; no deploy needed (improved in 3.0.1).
  • Speed: Launch forms in hours, not weeks. Example: The marketing team can now update the newsletter signup form weekly without IT tickets."*
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.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
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