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
Formerrorsbundle

Formerrorsbundle Laravel Package

ex3v/formerrorsbundle

FormErrorsBundle for Symfony exports all form errors, including field and subform labels, to an array and provides a Twig extension to render them as a customizable list. Avoid boilerplate parsers and display complete validation errors in templates with all_form_errors(form).

View on GitHub
Deep Wiki
Context7

FormErrorsBundle is a Symfony bundle that collects every validation error from a form—including errors from individual fields and subforms—into a simple array, and provides a Twig extension to render them. Symfony's $form->getErrors() only returns errors for the root form and omits field labels, so this bundle handles the parsing for you and removes the need for boilerplate in your controllers. Pass the full form object to Twig alongside its view, then call the extension.

  • Exports all form, field, and subform errors to an array
  • all_form_errors() Twig function renders errors as a clean list
  • Includes field labels in each error message
  • Customizable output via HTML tag and CSS class parameters
  • Compatible with Symfony 2.3+ with no controller boilerplate
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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource