sbsedv/form-bundle
A Symfony bundle for working with forms, providing reusable form types, extensions, and helpers that reduce boilerplate and keep form configuration consistent across applications. Built to integrate smoothly with Symfony’s Form component and common form workflows.
composer require sbsedv/form-bundle.config/bundles.php (SBSEDV\FormBundle\FormBundle::class => ['all' => true]). Check the repo’s README.md and docs/ for bundle-specific configuration (if any).laravel-form-builder are a better fit.Symfony\Component\Form\AbstractType, define fields in buildForm(), and use it in a controller to render and process a form.AbstractType classes; inject dependencies via constructor and declare them as services.FormEvents::PRE_SET_DATA and POST_SUBMIT to add/remove fields based on data or user input.$form = $this->createForm(MyType::class, $data); $form->handleRequest($request); if ($form->isSubmitted() && $form->isValid()) { ... }.form_start, form_widget, form_end; customize appearance with form themes. In Laravel, you’ll need a Twig bridge or manual HTML rendering.constraints option on fields; handle errors via $form->getErrors().FormFactory with HttpFoundationRequestHandler, and pass the Laravel request converted to a Symfony request. Expect to handle CSRF tokens manually.composer.json—older Symfony versions (6/7) should use v1.9.x.dump($form->getErrors(true)) to inspect validation errors; add dump() inside form event listeners to trace dynamic field changes.composer.json constraints before upgrading—especially if you’re on Symfony 8.How can I help you explore Laravel packages today?