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

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

Form Bundle for handling Dynamic and Symfony Forms in https://sulu.io

Frequently asked questions about Sulu Form Bundle
Is sulu/form-bundle a Laravel package?
No. It is a Sulu CMS bundle built on Symfony Form and Doctrine, intended for Sulu 2.x applications. It ships no Laravel service provider, config publishing, Eloquent models, or Blade views. Installing it in Laravel would require a port or reimplementation rather than a normal Composer integration.
How do I install sulu/form-bundle?
Run composer require sulu/form-bundle, then register and configure the bundle by following Resources/doc/index.md in the repository. You also need to configure mail settings, frontend templates, submission storage, and permissions. Verify PHP, Symfony, Sulu, and Doctrine constraints before upgrading.
Which Laravel versions are supported by sulu/form-bundle?
None are officially supported because the package targets Sulu, not Laravel. Its dependency chain is Sulu 2.0 or newer, Symfony Form, and Doctrine, with no Laravel framework constraints. If you need Laravel version compatibility, choose a Laravel-native form package instead.
Can I use SuluFormBundle in a Laravel application?
Not directly, because the bundle depends on Sulu admin routing, assets, dynamic entities, and Symfony Form theming. For a mixed Sulu and Laravel estate, keep forms inside Sulu and expose submissions to Laravel through a controlled API or database boundary. Forcing the bundle into Laravel would be a reimplementation, not a package install.
What are the requirements for sulu/form-bundle?
It requires Sulu 2.0 or newer plus Symfony Form and Doctrine; check the require section of composer.json for exact constraints. Release 2.1.0 includes Doctrine updates for PHP 8 compatibility, but you must still align PHP, Symfony, Sulu, and Doctrine versions. Validate the actual release cadence before committing, because metadata about the last release date can be misleading.
How do content managers create forms in the Sulu admin?
Editors create and manage forms entirely in the Sulu admin UI, position fields in a basic grid layout, and configure notification emails for visitors and administrators. Rendering and validation reuse Symfony Form theming on the frontend. No developer intervention is required for routine form changes once templates and configuration are in place.
How are form submissions stored and exported?
Submissions are persisted through Sulu and Doctrine dynamic entities and shown in admin list views. CSV export and historical reporting are commonly requested but may require custom work depending on your version. Plan retention, export, and deletion processes because submissions typically contain personal data.
Does it support file uploads, reCAPTCHA, and honeypot spam protection?
The bundle covers common form features including file uploads and attachments, email configuration, reCAPTCHA, and honeypot support, but each must be configured and hardened explicitly. Public form endpoints, attachment handling, and sender and receiver email settings are security-sensitive. Test spam controls and upload limits in staging before exposing forms publicly.
What is a good Laravel alternative to sulu/form-bundle?
For Laravel applications, use a Laravel-native form builder, build forms with Blade, Laravel validation, and Eloquent, or integrate a hosted form service through an API or webhooks. Laravel has no Sulu admin UI, so the bundle's main value, editor-driven form creation, does not carry over. Choose based on whether editors need self-service form building or developers can define forms in code.
Is sulu/form-bundle actively maintained and production ready?
It is an official Sulu bundle under the MIT license but community-driven, with a small core contributor group and limited external validation of roughly 86 stars and few dependents. It is production-ready for Sulu 2.x projects that test upgrades, since 2.0 renamed the package, changed event naming, and reduced dynamic entities to basic fields. Review UPGRADE .md and regression-test stored submissions whenever Sulu or Symfony updates.
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.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections