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(6mo ago)1651↓73.3%1MITPHPPHP ^8.2CI passing

Since May 21Pushed 5mo 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 today

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

44

—

FairBetter than 90% of packages

Maintenance68

Regular maintenance activity

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity70

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

209d 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://avatars.githubusercontent.com/u/48986191?v=4)[Daniel Burger](/maintainers/danielburger1337)[@danielburger1337](https://github.com/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

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[sylius/sylius

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

8.5k5.9M737](/packages/sylius-sylius)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-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.1k17.8k](/packages/prestashop-prestashop)

PHPackages © 2026

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