PHPackages                             sbsedv/form-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. sbsedv/form-bundle

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

sbsedv/form-bundle
==================

A Symfony bundle that adds some usefull symfony/form integrations.

v1.10.0(5mo ago)1612↓50%1MITPHPPHP ^8.2CI passing

Since May 21Pushed 4mo agoCompare

[ Source](https://github.com/SBSEDV/form-bundle)[ Packagist](https://packagist.org/packages/sbsedv/form-bundle)[ RSS](/packages/sbsedv-form-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (20)Used By (1)

[![PHPStan](https://github.com/SBSEDV/form-bundle/actions/workflows/phpstan.yaml/badge.svg)](https://github.com/SBSEDV/form-bundle/actions/workflows/phpstan.yaml)[![PHPCSFixer](https://github.com/SBSEDV/form-bundle/actions/workflows/phpcsfixer.yaml/badge.svg)](https://github.com/SBSEDV/form-bundle/actions/workflows/phpcsfixer.yaml)

sbsedv/form-bundle
==================

[](#sbsedvform-bundle)

A [Symfony](https://symfony.com/) bundle that adds some usefull [symfony/form](https://github.com/symfony/form) integrations.

---

**Error Normalizer**
--------------------

[](#error-normalizer)

This bundle registers two [symfony/serializer](https://github.com/symfony/serializer) normalizers for form errors.

#### [**FormErrorNormalizer**](./src/Serializer/Normalizer/FormErrorNormalizer.php)

[](#formerrornormalizer)

The most important normalizer. This normalizer supports submitted, invalid forms.

The normalized data is an associative array with the following structure:

```
[
    {
        // Each FormError object has its own entry
        "message": "The FormError object message",
        "type": "invalid_request_error",
        "param": "first_name", // OPTIONAL
        "cause": "is_blank_error" // OPTIONAL
    }
]
```

The `param` key will contain, by default, the property path of the child form that the FormError originates from. This key will not exist if the error originates from the root form (e.g. invalid CSRF Token).

The "cause" key is intended to contain an error name based on the FormError cause.

You can customize the keys behaviour by registering a service that implements [ParamResolverInterface](./src/ParamResolver/ParamResolverInterface.php) or [CauseResolverInterface](./src/CauseResolver/CauseResolverInterface.php).

If autoconfiguration is disabled, you have to tag the service with `sbsedv_form.param_resolver` or `sbsedv_form.cause_resolver`. The normalizer uses tagged iterators, so you can set a "priority" attribute with the tag.

You can also customize the key names and type value with the normalizer context.
See [FormErrorNormalizer](./src/Serializer/Normalizer/FormErrorNormalizer.php).

#### [**UnsubmittedFormNormalizer**](./src/Serializer/Normalizer/UnsubmittedFormNormalizer.php)

[](#unsubmittedformnormalizer)

This normalizer supports unsubmitted forms.

The normalized data is an associative array with the following structure:

```
[
    {
        "message": "The request body does not contain any usable data.",
        "type": "invalid_request_error"
    }
]
```

The error message is customizable via "request\_body\_is\_empty" in the "sbsedv\_form" translation domain.

You can also customize the key names and type value with the normalizer context.
See [UnsubmittedFormNormalizer](./src/Serializer/Normalizer/UnsubmittedFormNormalizer.php).

---

**Form Types**
--------------

[](#form-types)

This bundle registers the following form types:

- [BooleanType](./src/Form/Type/BooleanType.php)
    Converts boolean values to boolean type
- [UuidTypeExtension](./src/Form/Extension/UuidTypeExtension.php)
    Extends the default UuidType with optional "as\_string" and "nil\_to\_null" (NilUuid to null) options.

---

**Data Transformers**
---------------------

[](#data-transformers)

This bundle provides the following data transformers:

- [CapitalizeStringDataTransformer](./src/Form/DataTransformer/CapitalizeStringDataTransformer.php) (ucfirst)
- [LowercaseStringDataTransformer](./src/Form/DataTransformer/LowercaseStringDataTransformer.php) (strtolower)
- [UppercaseStringDataTransformer](./src/Form/DataTransformer/UppercaseStringDataTransformer.php) (strtoupper)

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance74

Regular maintenance activity

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~71 days

Recently: every ~188 days

Total

19

Last Release

163d ago

PHP version history (3 changes)v1.0.0PHP ^8.1

v1.1.0PHP &gt;=8.1

v1.7.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/b54ebcf5961630f5ac30dc9d15d304a286fe22d14ebe78470c9ca9ad12e285db?d=identicon)[danielburger1337](/maintainers/danielburger1337)

---

Top Contributors

[![danielburger1337](https://avatars.githubusercontent.com/u/48986191?v=4)](https://github.com/danielburger1337 "danielburger1337 (68 commits)")

---

Tags

phpsymfony-bundlesymfony-form

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sbsedv-form-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/sbsedv-form-bundle/health.svg)](https://phpackages.com/packages/sbsedv-form-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M310](/packages/easycorp-easyadmin-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
