PHPackages                             shopsys/form-types-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. shopsys/form-types-bundle

ActiveLibrary[Templating &amp; Views](/categories/templating)

shopsys/form-types-bundle
=========================

Shopsys Platform custom Symfony form types

v19.0.0(2mo ago)2251.1k↓42.5%320MITPHPPHP ^8.5CI passing

Since Aug 17Pushed today7 watchersCompare

[ Source](https://github.com/shopsys/form-types-bundle)[ Packagist](https://packagist.org/packages/shopsys/form-types-bundle)[ RSS](/packages/shopsys-form-types-bundle/feed)WikiDiscussions 20.0 Synced 1w ago

READMEChangelogDependencies (14)Versions (217)Used By (20)

Shopsys Form Types Bundle
=========================

[](#shopsys-form-types-bundle)

[![Downloads](https://camo.githubusercontent.com/0130f7a15eedda55e7fde4e82177890d64e2bba85a5a876bc094cce05464465a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73686f707379732f666f726d2d74797065732d62756e646c652e737667)](https://packagist.org/packages/shopsys/form-types-bundle)

Symfony bundle adding form types for usage in [Shopsys Platform](https://www.shopsys-framework.com), its components and plugins.

This repository is maintained by shopsys/shopsys monorepo, information about changes is in its `CHANGELOG` file.

Installation
------------

[](#installation)

The plugin is a Symfony bundle and is installed in the same way:

### Download

[](#download)

First, you download the package using [Composer](https://getcomposer.org/):

```
composer require shopsys/form-types

```

How to use a custom form type
-----------------------------

[](#how-to-use-a-custom-form-type)

The form types in this package are regular Symfony form types. See [Symfony Forms Documentation](https://symfony.com/doc/current/forms.html) for detailed explanation.

Contents
--------

[](#contents)

### [MultidomainType](./src/MultidomainType.php)

[](#multidomaintype)

Compound type that renders one form of given type for each domain.

It can be configured via the following options:

- `entry_type` - The type of the inner form. Defaults to `TextType::class`.
- `entry_options` - The options of the inner forms. Defaults to `[]`.
- `options_by_domain_id` - The options of the inner forms based on the domain ID. Provide arrays indexed by the domain ID, values are merged with the `entry_options`. Defaults to `[]`.

The data of the inner forms are returned as an array indexed by the domain ID.

[![MultidomainType usage example](./docs/images/multidomain_type_example.png)](./docs/images/multidomain_type_example.png)

### [YesNoType](./src/YesNoType.php)

[](#yesnotype)

Natural looking choice type for boolean value inputs.

It has no notable options.

A boolean value is accepted/returned as data. A null value can be accepted/returned when no radio button is checked.

[![YesNoType usage example](./docs/images/yes_no_type_example.png)](./docs/images/yes_no_type_example.png)

Contributing
------------

[](#contributing)

Thank you for your contributions to Shopsys Form Types Bundle package. Together we are making Shopsys Platform better.

This repository is READ-ONLY. If you want to [report issues](https://github.com/shopsys/shopsys/issues/new) and/or send [pull requests](https://github.com/shopsys/shopsys/compare), please use the main [Shopsys repository](https://github.com/shopsys/shopsys).

Please check our [Contribution Guide](https://github.com/shopsys/shopsys/blob/HEAD/CONTRIBUTING.md) before contributing.

Support
-------

[](#support)

What to do when you are in troubles or need some help? The best way is to join our [Slack](https://join.slack.com/t/shopsysframework/shared_invite/zt-11wx9au4g-e5pXei73UJydHRQ7nVApAQ).

If you want to [report issues](https://github.com/shopsys/shopsys/issues/new), please use the main [Shopsys repository](https://github.com/shopsys/shopsys).

###  Health Score

71

—

ExcellentBetter than 100% of packages

Maintenance94

Actively maintained with recent releases

Popularity38

Limited adoption so far

Community38

Small or concentrated contributor base

Maturity100

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~38 days

Recently: every ~15 days

Total

83

Last Release

62d ago

Major Versions

14.0.x-dev → v16.0.02024-12-30

0.0.x-dev → 17.0.x-dev2025-09-10

v14.5.0 → v18.0.02025-12-29

14.5.x-dev → 19.0.x-dev2026-04-08

19.0.x-dev → 20.0.x-dev2026-04-08

PHP version history (6 changes)v0.1.0PHP ^7.0

v8.0.0PHP ^7.2

v9.1.0PHP ^7.4.1

v10.0.0PHP ^8.1

v14.0.0PHP ^8.3

19.0.x-devPHP ^8.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5638367?v=4)[Tomáš Ludvik](/maintainers/TomasLudvik)[@TomasLudvik](https://github.com/TomasLudvik)

![](https://avatars.githubusercontent.com/u/1177414?v=4)[Martin Grossmann](/maintainers/grossmannmartin)[@grossmannmartin](https://github.com/grossmannmartin)

![](https://www.gravatar.com/avatar/8aee0045853dd983a2a4f291d2e21e7492e2d8c19d84cdb7a76dd16c3eb499f9?d=identicon)[rostislav.vitek@shopsys.com](/maintainers/rostislav.vitek@shopsys.com)

![](https://www.gravatar.com/avatar/0a44b48b2c3e7114fdf1cbdf9170494591abad48f5fc416d93b134abd771635f?d=identicon)[Miroslav Stopka](/maintainers/Miroslav%20Stopka)

---

Top Contributors

[![grossmannmartin](https://avatars.githubusercontent.com/u/1177414?v=4)](https://github.com/grossmannmartin "grossmannmartin (78 commits)")[![TomasLudvik](https://avatars.githubusercontent.com/u/5638367?v=4)](https://github.com/TomasLudvik "TomasLudvik (63 commits)")[![vitek-rostislav](https://avatars.githubusercontent.com/u/10401898?v=4)](https://github.com/vitek-rostislav "vitek-rostislav (44 commits)")[![PetrHeinz](https://avatars.githubusercontent.com/u/10008612?v=4)](https://github.com/PetrHeinz "PetrHeinz (31 commits)")[![pesektomas](https://avatars.githubusercontent.com/u/1737966?v=4)](https://github.com/pesektomas "pesektomas (8 commits)")[![s3tezsky](https://avatars.githubusercontent.com/u/53976269?v=4)](https://github.com/s3tezsky "s3tezsky (7 commits)")[![RobinDvorak](https://avatars.githubusercontent.com/u/7197178?v=4)](https://github.com/RobinDvorak "RobinDvorak (6 commits)")[![boris-brtan](https://avatars.githubusercontent.com/u/39240194?v=4)](https://github.com/boris-brtan "boris-brtan (5 commits)")[![Miroslav-Stopka](https://avatars.githubusercontent.com/u/35930284?v=4)](https://github.com/Miroslav-Stopka "Miroslav-Stopka (4 commits)")[![miroslav2stopka](https://avatars.githubusercontent.com/u/35224208?v=4)](https://github.com/miroslav2stopka "miroslav2stopka (4 commits)")[![DavidOstrozlik](https://avatars.githubusercontent.com/u/44843673?v=4)](https://github.com/DavidOstrozlik "DavidOstrozlik (3 commits)")[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (2 commits)")[![chlebektomas](https://avatars.githubusercontent.com/u/75931029?v=4)](https://github.com/chlebektomas "chlebektomas (2 commits)")[![LukasHeinz](https://avatars.githubusercontent.com/u/33071107?v=4)](https://github.com/LukasHeinz "LukasHeinz (2 commits)")[![henzigo](https://avatars.githubusercontent.com/u/1482966?v=4)](https://github.com/henzigo "henzigo (1 commits)")[![msshopsys](https://avatars.githubusercontent.com/u/128610012?v=4)](https://github.com/msshopsys "msshopsys (1 commits)")[![sspooky13](https://avatars.githubusercontent.com/u/25614491?v=4)](https://github.com/sspooky13 "sspooky13 (1 commits)")

---

Tags

formSSFWShopsys PlatformForm Type

### Embed Badge

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

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M370](/packages/easycorp-easyadmin-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1715.6k12](/packages/2lenet-crudit-bundle)[chameleon-system/chameleon-base

The Chameleon System core.

1027.9k4](/packages/chameleon-system-chameleon-base)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9017.2k55](/packages/open-dxp-opendxp)

PHPackages © 2026

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