PHPackages                             softspring/polymorphic-form-type - 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. softspring/polymorphic-form-type

ActiveLibrary

softspring/polymorphic-form-type
================================

Symfony Polymorphic Form Type

v5.5.6(7mo ago)121.5k↓34.1%3AGPL-3.0-or-laterPHPPHP &gt;=8.1CI passing

Since May 26Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/softspring/polymorphic-form-type)[ Packagist](https://packagist.org/packages/softspring/polymorphic-form-type)[ RSS](/packages/softspring-polymorphic-form-type/feed)WikiDiscussions 6.0 Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (142)Used By (3)

Polymorphic form type
=====================

[](#polymorphic-form-type)

[![Latest Stable](https://camo.githubusercontent.com/e77cf0002bbcd606333638bb74656ec8bd276187834bf04f716d347b6e1a3fac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f6674737072696e672f706f6c796d6f72706869632d666f726d2d747970653f6c6162656c3d737461626c65267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/e77cf0002bbcd606333638bb74656ec8bd276187834bf04f716d347b6e1a3fac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f6674737072696e672f706f6c796d6f72706869632d666f726d2d747970653f6c6162656c3d737461626c65267374796c653d666c61742d737175617265)[![Latest Unstable](https://camo.githubusercontent.com/a980a9f068f6556ad43f3041541020a38f6ffe61c78824013700616f11e29727/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f6674737072696e672f706f6c796d6f72706869632d666f726d2d747970653f6c6162656c3d756e737461626c65267374796c653d666c61742d73717561726526696e636c7564655f70726572656c6561736573)](https://camo.githubusercontent.com/a980a9f068f6556ad43f3041541020a38f6ffe61c78824013700616f11e29727/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f6674737072696e672f706f6c796d6f72706869632d666f726d2d747970653f6c6162656c3d756e737461626c65267374796c653d666c61742d73717561726526696e636c7564655f70726572656c6561736573)[![License](https://camo.githubusercontent.com/390d39452adc9f8cf7eca65f10234518a17583b75e1571054ad5418666ad78be/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f736f6674737072696e672f706f6c796d6f72706869632d666f726d2d747970653f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/390d39452adc9f8cf7eca65f10234518a17583b75e1571054ad5418666ad78be/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f736f6674737072696e672f706f6c796d6f72706869632d666f726d2d747970653f7374796c653d666c61742d737175617265)[![PHP Version](https://camo.githubusercontent.com/6409774499c020fa1a466ddf01f5ce964dd23e17abb0cf12630eb43042b3818d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f736f6674737072696e672f706f6c796d6f72706869632d666f726d2d747970652f7068703f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/6409774499c020fa1a466ddf01f5ce964dd23e17abb0cf12630eb43042b3818d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f736f6674737072696e672f706f6c796d6f72706869632d666f726d2d747970652f7068703f7374796c653d666c61742d737175617265)[![Downloads](https://camo.githubusercontent.com/cf898deecc899a57691dae16c000475797cf26ce34800846f90ca3d08364d430/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f6674737072696e672f706f6c796d6f72706869632d666f726d2d747970653f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/cf898deecc899a57691dae16c000475797cf26ce34800846f90ca3d08364d430/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f6674737072696e672f706f6c796d6f72706869632d666f726d2d747970653f7374796c653d666c61742d737175617265)[![CI](https://camo.githubusercontent.com/877453545fd971dff843d40dd3dbbdf66f99d9c8f34fa1064f04701660e6e62e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736f6674737072696e672f706f6c796d6f72706869632d666f726d2d747970652f63692e796d6c3f6272616e63683d352e34267374796c653d666c61742d737175617265266c6162656c3d4349)](https://github.com/softspring/polymorphic-form-type/actions/workflows/ci.yml)

This package provides a Symfony form type to manage with polymorphic collections.

Documentation
-------------

[](#documentation)

- [1. Installation](docs/1_installation.md)
- [2. Concepts](docs/2_concepts.md)
- 3. Register
- 4. Account settings
- 5. Admin accounts
- 6. Routing with accounts

License
-------

[](#license)

This package is free and released under the [AGPL-3.0 license](LICENSE).

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance76

Regular maintenance activity

Popularity28

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 87.8% 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 ~15 days

Recently: every ~39 days

Total

141

Last Release

54d ago

Major Versions

v1.0.0 → 4.0.02022-02-22

4.1.0 → v5.0.0-alpha32022-09-19

v5.5.0-rc7 → 6.0.x-dev2026-03-25

PHP version history (4 changes)4.0.0PHP &gt;=7.4

v5.0.0-rc1PHP &gt;=8.0

v5.2.0-rc7PHP &gt;=8.1

6.0.x-devPHP &gt;=8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/64ac79c0e14e0dd67af72d74bd3531606fb0484230c519a35682d54490f9be5b?d=identicon)[softspring](/maintainers/softspring)

---

Top Contributors

[![javihgil](https://avatars.githubusercontent.com/u/2581053?v=4)](https://github.com/javihgil "javihgil (122 commits)")[![evabelpeq](https://avatars.githubusercontent.com/u/24357443?v=4)](https://github.com/evabelpeq "evabelpeq (10 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")

---

Tags

componentformsymfony

###  Code Quality

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/softspring-polymorphic-form-type/health.svg)

```
[![Health](https://phpackages.com/badges/softspring-polymorphic-form-type/health.svg)](https://phpackages.com/packages/softspring-polymorphic-form-type)
```

###  Alternatives

[symfony/ux-toggle-password

Toggle visibility of password inputs for Symfony Forms

26508.0k5](/packages/symfony-ux-toggle-password)[symfony/ux-cropperjs

Cropper.js integration for Symfony

19280.3k3](/packages/symfony-ux-cropperjs)[kilik/table

Symfony Ajax Datagrid Bundle for doctrine entities

3361.4k](/packages/kilik-table)[pumukit/pumukit

Media Portal

5714.0k37](/packages/pumukit-pumukit)[leapt/core-bundle

Symfony LeaptCoreBundle

2529.1k4](/packages/leapt-core-bundle)[easycorp/easyadmin-demo

EasyAdmin Demo Application

145.7k](/packages/easycorp-easyadmin-demo)

PHPackages © 2026

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